Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I can't seem to hide tabs from the administrator... Is this possible?
Nope, if you're an administrator, it always shows you everything.
I suppose that I could change it to only show everything to the "proper" admin (ie the one who's id is 0 that you set up as part of the install), that shouldn't be too hard to do.
That's sounds like an interesting solution...
I'm just having some issues with the users section trying to understand the security... I create an editor, log in as them, but then editors can still alter the permissions on the editor usertype! and change their own usertype.... like I say not sure I understand that. (u4.5.2)
I could really use your "only show everything to the 'proper' admin (ie the one who's id is 0 that you set up as part of the install)" solution. Is this already possible?
I haven't had a chance to do this yet, but if you can hold on 'till later in the week when I've got a deadline out of the way, I'll see what I can do. I'll be adding a config value that lets you specify whether it shows stuff to ALL members of the administrator group, or just the original one!
I can wait till later this week :). Thanks for adding this feature!
I assume it also works on Umbraco 4.7?
Yup, it's been tested in 4.7 and it should work fine. I'll post on here when I've got the update sorted out!
Righty, version 1.3 is up on the downloads page, that adds a flag to the config file that allows you to specify that only the root user (i.e. the one who's ID is 0) gets to ignore the rules, so you can add the Administrator group to your rule sets and it'll hide the tabs from "normal" administrators too.
Thank you! I will try it out tomorrow :).
I've installed version 1.3, but other admin users can still see the tab. Here is my config:
<?xml version="1.0" encoding="utf-8" ?>
<add tabName="admin" hideFrom="administrator,writer,editor" docTypeAliases="TopNode" />
Is there something I'm doing wrong? The tab is hidden for editors and writers :).
I'm not sure what's going on there, I'll see if I can sort that out for you this afternoon.
It's because the alias for the adminstrator group is "admin" rather than "administrator" change your rule to:
<add tabName="admin" hideFrom="admin,writer,editor" docTypeAliases="TopNode" />
And it should work!
Do you already know what I'm doing wrong? Btw I voted for you package and it now has 15 point so it's available in the Umbraco repo :).
Did changing the rule work ok?
Somehow I missed your post about using "admin" rather than "administrator". I changed it and now it's fixed :). Thank you!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted