Non-Admins approving users

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
bdurfee
Veteran Member
Posts: 32
Joined: 2013-02-07 17:44

Non-Admins approving users

Post by bdurfee » 2019-11-29 20:41

For the Appgini project I'm working on, there is one particular group in which all users have to be approved. I would like to be able to have a person be able to approve users who sign up, but that person should not be able to do any of the other admin functions in the Appgini project. Is it possible to have a person who functions as admin ONLY to approve users and does not have access to anything else in the Admin Area?

User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 1156
Joined: 2019-05-21 22:42
Location: Germany
Contact:

Re: Non-Admins approving users

Post by onoehring » 2019-12-01 08:22

Hi bdurfee,

this should work:
Create a new table in your AG project named membership_users (like the internal table name where users are found).
In this table have 2 fields (or more from the membership_users if you like, but hide them, see below): memberID (varchar 100) and isApproved (tinyint (4) NULL).
Give EDIT (only) permission to this table to your admingroup who approves users.
Define in your AG project the field "username" so that only isApproved can be edited (all other fields can be hidden). Set a lookup field so that the admingroup user can only set the two values 0 and 1.

Olaf

bdurfee
Veteran Member
Posts: 32
Joined: 2013-02-07 17:44

Re: Non-Admins approving users

Post by bdurfee » 2019-12-02 21:57

Thanks!!

Post Reply