|
|
Hi,
Right now users tab is visible to administrator but as per my project requirment users tab should not show to anyone
like as administrator,editors and members etc.
Please guide me how can i implement these things in my project.
Thanks
Shivendra
|
|
|
|
Try here:
In N2.Management N2/Users/Users.aspx.cs:
[MembershipToolbarPlugin("USERS", "users", "Users/Users.aspx", "{ManagementUrl}/Resources/icons/group_key.png", 110,
ToolTip = "administer users",
AuthorizedRoles = new string[] { "Administrators", "Admin" },
GlobalResourceClassName = "Toolbar")]
Change the Authorized roles/users to fit what you would like to see.
|
|
May 3, 2012 at 8:44 AM
Edited May 3, 2012 at 8:46 AM
|
Can this be done via the Web.Config N2 section?
I know that other tabs can be turned off eg.
<interfacePlugins>
<remove
name="linktracker"
/>
Can the same be done for users tab?
|
|
Coordinator
May 6, 2012 at 9:55 PM
Edited May 6, 2012 at 9:56 PM
|
Yes, <remove name="users"
|
|