09-23-2021, 02:36 AM
I took a quick look at this and you are correct. For some reason, high access level does not show the gear menu items. In the code, it is clearly set:
xml.append('''<rule group="gear_menu" submenu="*" label="*" access="allow"/>''')
This access rule in the login_group table should allow all menus to be visible. I tried adding some menu items manually in the login_group xml access rules:
<rule group="gear_menu" submenu="File" label="Export All ..." project="vfx" access="allow"/>
<rule group="gear_menu" submenu="File" label="Export Selected ..." project="vfx" access="allow"/>
<rule group="gear_menu" submenu="File" label="Export Matched ..." project="vfx" access="allow"/>
<rule group="gear_menu" submenu="File" label="Export Displayed ..." project="vfx" access="allow"/>
<rule group="gear_menu" submenu="File" label="Import CSV" project="vfx" access="allow"/>
And this works fine. I will have to trace through to see why the entire menu is being blocked for the above "*" rules.
xml.append('''<rule group="gear_menu" submenu="*" label="*" access="allow"/>''')
This access rule in the login_group table should allow all menus to be visible. I tried adding some menu items manually in the login_group xml access rules:
<rule group="gear_menu" submenu="File" label="Export All ..." project="vfx" access="allow"/>
<rule group="gear_menu" submenu="File" label="Export Selected ..." project="vfx" access="allow"/>
<rule group="gear_menu" submenu="File" label="Export Matched ..." project="vfx" access="allow"/>
<rule group="gear_menu" submenu="File" label="Export Displayed ..." project="vfx" access="allow"/>
<rule group="gear_menu" submenu="File" label="Import CSV" project="vfx" access="allow"/>
And this works fine. I will have to trace through to see why the entire menu is being blocked for the above "*" rules.