AndyLaci Posted March 8, 2013 Share Posted March 8, 2013 Hi, I would like to allow some features in backoffice just for superadmin. More precise in modules tab. I set everything in permissions tab, but there is not such options like disable search and module categories. I want user to see just few allowed modules, but I want be able to add, change etc modules in superadmn mode. Now I have solution just to disable theese in both salesman and superadmin modes. Here is picture for better visualisation: Link to comment Share on other sites More sharing options...
vekia Posted March 8, 2013 Share Posted March 8, 2013 in my opinion without core modification it isnt possible Link to comment Share on other sites More sharing options...
AndyLaci Posted March 8, 2013 Author Share Posted March 8, 2013 I don't want some secure solution, it can be just load another css for salesman and there will be display:none set to some sections. Isn't there some solution like > if(superadmin==true){...} ? Link to comment Share on other sites More sharing options...
Dh42 Posted March 8, 2013 Share Posted March 8, 2013 You could do it that way, but the easiest way to do it, since you do not require it to be super secure is, modify one of the default templates to not show those sections in the css file. I haven't looked to hard in the admin code, but you might have to go in and put a special class on what you want to hide. You might be able to latch on to other classes too. 1 Link to comment Share on other sites More sharing options...
AndyLaci Posted March 9, 2013 Author Share Posted March 9, 2013 You could do it that way > Is there such way? I am looking for this way.. Link to comment Share on other sites More sharing options...
Dh42 Posted March 9, 2013 Share Posted March 9, 2013 Well the different backoffice themes load different css files. So just assign them a theme that the css has been modified on Link to comment Share on other sites More sharing options...
Recommended Posts