How to set permission to hide area from editor

Permalink 1 user found helpful
I would like to hide an area from editors but still keep it visible on the live site ... I tried many options but I'm getting mad trying to find the right permission combination... if that is possible in fact . Any help will be appreciated.
Many thanks

 
adajad replied on at Permalink Best Answer Reply
adajad
You can do this in several ways, but here are two:

1. Switch over to advanced permissions (index.php/dashboard/system/permissions/advanced/)
With advanced permissions your have full control over all permissions on your site down to block level. Keep in mind though, that once you have advanced permissions enabled you can't go back to basic permissions.

Here is a video on advanced permissions: http://www.youtube.com/watch?feature=player_embedded&v=Ac7Z3x2R...

2. Edit your page type source code to not show the area at all to people in the editors group. This will completely hide the area from editors when they are logged in.
<?php
  $u = New User();
  $g = Group::getByName('editors');
  if(!$u->inGroup($g)){
    $a = new Area('Area To Hide From Editors');
    $a->display($c);
} ?>
marissa replied on at Permalink Reply
Hello,
I have a horse registry website and in under the sitemap there is a page that is called the registry admin. I have the super admin control but when I go in there and try to update the horse registry it says user name and password incorrect. I believe that this was set up as a page permissions but I am not sure what I need to do to get in there?? It does tell me a hint the password is demo/demo or admin/admin but I have no clue what that means! Could someone please help be able to get in there so I can update the information!

thanks

Marissa
adajad replied on at Permalink Reply
adajad
Marissa, your registry is a stand alone application incorporated into c5 and has it's own permissions and database.
JD46 replied on at Permalink Reply
Hi there! I have a very similar problem! Can you please guide me on technique #1 to switch to advanced permissions please? Like what are the steps? Thanks so much! :D)
adajad replied on at Permalink Reply
adajad
To enable advanced permissions you need to go to 'Dashboard->Permissions and Access->Advanced Permissions'.

NOTE: You can't go back to basic permissions once you have turned it on.
JD46 replied on at Permalink Reply
Thanks man! I managed to do it by entering that link the browser! you rock! :D
marissa replied on at Permalink Reply
Thank you adajad but can you explain that to me in terms that I can understand?? I don't know what that actually means?? How do I fix it??
Go into file manager and look for the code and remove it??

Still learning!! So much to learn!

Thanks

Marissa
ptityop replied on at Permalink Reply
Thank you !