Help creating user permissions (1 Viewer)

GingGangGoo

Registered User.
Local time
Yesterday, 16:22
Joined
Dec 14, 2010
Messages
121
I have built a web app which is doing what I need for my own branch of our organization, but now we are working on using it company wide (small non profit with two offices). I need to build some user limits to this and I am unsure of how to go about it. The permission flow I need is:

Admin can access all data
Staff can access data related to volunteers and clients
Volunteers can only access client data

I know there is a way to have a user sign-in when the app opens because I see that in one of the template apps, but from there how do I restrict views based on the user?

All help is appreciated
 

Ranman256

Well-known member
Local time
Yesterday, 19:22
Joined
Apr 9, 2015
Messages
4,337
I have a tUser table,
name,userID, rights.

When the form opens, it grabs userID, looks up their rights.
A=admin
M= managers

Forms and buttons have a code in the .tag property.
Admin has access to all, M can click things ,that ordinary users cannot.
Etc..
 

Users who are viewing this thread

Top Bottom