Login  Register

Re: Testing if user is in a group

Posted by iamthemik3 on Nov 03, 2011; 2:28pm
URL: https://support.nabble.com/Testing-if-user-is-in-a-group-tp6956317p6959202.html

Sorry for being vague.
My application's top node serves as a landing page without any forum content displayed (just the node's description). If I need to change the landing page content, I use the "options" dropdown menu to edit the page description. Since there really isn't any use for the options menu for non-administrators, I'd like to hide the menu to general members. For now i've been using the <n.visible_for_admins> macro to hide the button however I would like certain power-user groups to be able to see the dropdown menu as well (basically sub-admins with restricted rights to certain parts of the forums).
This example isn't all too big of a deal since it is only a minor cosmetic change however I do see this sort of thing being useful in the future.

Here is a link to my app:
http://people.rit.edu/aim6864/vovkulaky/