Tab Permissions

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
angus
Veteran Member
Posts: 128
Joined: 2020-05-28 22:27

Tab Permissions

Post by angus » 2022-10-13 00:15

Does anyone know if its possible to restrict access to a tab to certain users?
AppGini 22.13

AhmedBR
AppGini Super Hero
AppGini Super Hero
Posts: 327
Joined: 2013-09-19 10:23

Re: Tab Permissions

Post by AhmedBR » 2022-10-13 10:42

By a tab you mean Child tab?
if yes, just use no view permission for this user.
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper

angus
Veteran Member
Posts: 128
Joined: 2020-05-28 22:27

Re: Tab Permissions

Post by angus » 2022-10-14 13:26

no not the child tab, the ones we create with the AppGiniHelper file
AppGini 22.13

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1944
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Tab Permissions

Post by jsetzer » 2022-10-14 13:31

You can get the current user name in javascript, then decide if your current user shall see the tab or not. If not, just don't create the tab but hide the fields.
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 25.10 + all AppGini Helper tools

angus
Veteran Member
Posts: 128
Joined: 2020-05-28 22:27

Re: Tab Permissions

Post by angus » 2022-10-14 14:35

Jan, this is so simple I did not even think of this, I will test it and feed back on here, thank you!
AppGini 22.13

Post Reply