Hi Charles,
Hi Charles,
Depending on what type of option you want to filter, theres 2 ways to do it. If this option is related to properties of tickets, queues, or something like that, an ACL would work fine. If what you want to filter is an entire module, or some functionality of that module, you can put filter options in the related /Config/Files/*.xml file. In Framework.xml you can see this
<ConfigItem Name="Frontend::Module###Admin" Required="0" Valid="1">
... description stuffs...
<Group>Framework</Group>
<SubGroup>Frontend::Admin::ModuleRegistration</SubGroup>
<Setting>
<FrontendModuleReg>
<Group>admin</Group>
... some other things....
</FrontendModuleReg>
</Setting>
</ConfigItem>
The key here is the <Group> tag, that is how the system knows that only and admin user can access to the function or module. Take a look at the rest of the file, or any other one, and maybe you'll find what you're looking for.
Many greetings,
Eduardo Raffoul
Hi,
I have a option that will be visible only if the user is admin. So, I
put a block in the dtl file and now I need to pass the data on the
frontend module.
How can I check if the user is of admin group?
Thanks & Regards,
Charles K. Schulz
ckschulz@gmail.com
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev