Permissions management server side
-
Hello!
I need to set a “standard user” profile that does not have any access to the “Fog Configuration” menu in order not to mess with my settings. Does anyone have any idea how I can achieve this? -
@6rilT You would install the accesscontrol plugin, and then configure it. Here’s information on it: https://forums.fogproject.org/topic/9624/control-access-plugin/7
I don’t k now if @Fernando-Gietz completed the Site control plugin, but information on that is here: https://forums.fogproject.org/topic/9902/site-pluginIf you are not familiar with fog’s plugins, you have to enable the plugin system in FOG Configuration - it’s just a checkbox, click save. You’ll get a new item in the fog ribbon for plugins. From there, you can install any of the available plugins.
-
@Wayne-Workman Thank you! I will look into that straight away!.. NOOOOOOOOOO! It is unfortunately not available anymore! such a shame. I guess it is too much hassle maintaining this module.
-
@6rilT What’s not available anymore?
-
I don’t know what you’re looking at, but the access control plugin is absolutely available.
-
@Tom-Elliott @Wayne-Workman : could not find it on the wiki page but I was not looking on the right page. found it and am looking into it just now. Thank you again and my apologies for being such a noob!
-
@6rilT said in Permissions management server side:
could not find it on the wiki page
What wiki page?
-
@Wayne-Workman @Tom-Elliott So my new issue is that the technician view has access to the accesscontrol area and I am not able to tick it off. Any suggestions?
-
@6rilT Let me play around a little bit. Mind you I’m running working-1.6 as @Sebastian-Roth has been doing wonderful keeping the 1.5.5 tree updated. So While some things are a little different, the actions performed should still be relatively similar.
Essentially, We just need to create the hook that manages the menu access. Without the menu available, with the access control plugin, a non-elevated user cannot access the access control and make changes, even if they know the url.
-
I believe you need to add two field into the accesscontrolrule side of things.
The Type:
MAIN_MENU
The parent:main
The node (leave blank)
The value:accesscontrol
Possibly you will need to do this for site so:
The Type:MAIN_MENU
The parent:main
The node (leave blank)
The value:site
On 1.6 it will be two more than those but this should help.
-
@Tom-Elliott said in Permissions management server side:
Thank you so much Tom, you just allowed me to understand how the accesscontrol module works!
I guess I can from now on do the same with every little bit that could be missing in order to match my needs. I feel extatic and relieved. Living to learn a little bit every day! -
Hello!
Do you recon it could be a bit easier if you forwarded me to a full documentation of FOG and its file system? As I still struggle to implement all the functionnalities I need to in order to have FOG work the way I want. -
@6rilT I am sorry but the wiki and forums are as much of documentation we have. Read through the code and you sure will figure it out.
-
@Sebastian-Roth I shall take that piece of advice, try putting the pieces together. Thank you again, so much for your responsivity!
-
@Tom-Elliott or anyone else:
The Type: MAIN_MENU
The parent: main
The node
The value: tasktypeedit
Anything wrong with that? It does not seem to work for me.
Please, let me know if I am being too demanding for so little.
. -
@6rilT Just creating the rule isn’t enough. You need to assign the rule to a role. Users and rules are associated roles.