Gossamer Forum
Home : Products : DBMan : Installation :

Way to restrict access?

Quote Reply
Way to restrict access?
I currently have 2 groups of users who visit our site. Group #1 should be able to add/view/delete/modify their own records. They also would be able to view ANY records within the database.

Group #2 should be able to add/delete/modify their own records. They should also be able to view only THEIR record within the database.

Can this be done? and how?

Thanks for your assistance !
Quote Reply
Re: Way to restrict access? In reply to
That would be a really tough thing to implement. I can't even figure out where to start on something like this.


------------------
JPD





Quote Reply
Re: Way to restrict access? In reply to
After thinking about this all day - I thought I had come up with a solution.

Make the default permissions for new signups/registrations

# Permissions a new signup should get.
@auth_signup_permissions = (0,1,0,1,0);

(can add and modify)

Then once a new registrant has met requirements for upgrading registration - Admin can set new permissions for user.

(1,1,1,1,0)

(can now add, view, delete, modify)

This sound correct?
Quote Reply
Re: Way to restrict access? In reply to
I'm not sure how the folks would actually be able to see their own records, except if they modify them. But if this is what you want, go for it.


------------------
JPD