Adaptation of navigation to admin rights

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
SkayyHH
Veteran Member
Posts: 427
Joined: 2015-04-27 21:18

Adaptation of navigation to admin rights

Post by SkayyHH » 2023-10-28 06:55

If the admin does not have viewing rights for a table, he cannot see the table page, but the link for the table remains in the dropdown navigation. For non-admin users everything is ok.

SkayyHH
Veteran Member
Posts: 427
Joined: 2015-04-27 21:18

Re: Adaptation of navigation to admin rights

Post by SkayyHH » 2023-12-07 08:28

Hello Ahmed,

do you perhaps have a quick fix for this?

Thank you, Kai

SkayyHH
Veteran Member
Posts: 427
Joined: 2015-04-27 21:18

Re: Adaptation of navigation to admin rights

Post by SkayyHH » 2023-12-17 09:36

Hi,

is this fixed in the latest release?

Thank you very much.

User avatar
a.gneady
Site Admin
Posts: 1287
Joined: 2012-09-27 14:46
Contact:

Re: Adaptation of navigation to admin rights

Post by a.gneady » 2023-12-23 16:03

Hmm ... the admin can't be configured to have permissions to a table revoked. There are checks in the generated code that automatically re-apply full access permissions to admin user if they are not present.
:idea: AppGini plugins to add more power to your apps:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

SkayyHH
Veteran Member
Posts: 427
Joined: 2015-04-27 21:18

Re: Adaptation of navigation to admin rights

Post by SkayyHH » 2024-01-04 07:21

Excuse me. I may have described it incorrectly. The admin cannot access the table. But the admin has the links for this tables in the navigation bar. However, there should be no links in the navigation bar that the admin cannot access. In other member groups (not admin) this works correctly and the links to tables without access are hidden in the navigation for members without access to this tables.

User avatar
a.gneady
Site Admin
Posts: 1287
Joined: 2012-09-27 14:46
Contact:

Re: Adaptation of navigation to admin rights

Post by a.gneady » 2024-01-11 07:10

OK, let me clarify by a screen recording: https://cdn.bigprof.com/screencasts/adm ... evoked.mp4

(Sorry some part of the above video got corrupted during saving, but it is still viewable and explains the idea)

In the above video, I'm editing the admin group permissions to disable access to 'customers' table. This would "seem" to work temporarily; when I navigate to the users area and try accessing the customers table, I see an access denied error ... once I sign out then sign in again as admin, permissions to this table are fully restored automatically.

In brief, even if you revoke some permissions from admin group, this is only temporary, and full permissions are restored on the next login.
:idea: AppGini plugins to add more power to your apps:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

SkayyHH
Veteran Member
Posts: 427
Joined: 2015-04-27 21:18

Re: Adaptation of navigation to admin rights

Post by SkayyHH » 2024-01-15 21:10

Thank you so much for your effort. Yes, I understand that. However, I need a configurable admin group for a specific reason. I have to ensure that unused admin groups cannot be utilized and do not appear in the navigation. I am using an Appgini app as a Windows app without logging in as an admin. Due to certain reasons, I cannot use the anonymous user.

Why does the admin group need to behave differently than the other individual groups?

Thanks much!

SkayyHH
Veteran Member
Posts: 427
Joined: 2015-04-27 21:18

Re: Adaptation of navigation to admin rights

Post by SkayyHH » 2024-04-06 10:29

I would like to ask changing appgini that we can set the table permissions for the admins group as well as for the other groups.

Thank you very much!

Post Reply