Structuring the PHP site
#1
Hello there, I want to know "How can i structure groups within a website? (groups like i mean-- admin ,moderators, helpers,users, etc-etc) ? " in context of PHP ... this site has the groups like this as i said, please someone provide me some concepts and ideas how i can implement this ?  Shy
Reply
#2
I think it might be like role based access control.

A boss can usually enter the worker's room without "permission"
A worker must have "permission" to enter the boss's room

A school safety officer's job is to keep the school
A student's job is learn
A teacher's job is to teach

Something like that
CMIIW Big Grin
Reply
#3
Pretty much. Each member account has a field that stores assigned roles. It has nothing to do with PHP.

Regardless of language used, you simply check whether or not the member has the necessary role assigned to perform the requested action.
Reply
#4
Thanks for the responses ... please let them coming, they will help me alot !!!
Reply
#5
Simply put, you can see this in a multi level login example, I think.
Look at this:
drupal.org/docs/user_guide/en/user-concept.html
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Programmer/possible business partner needed for onion site. Samwoo 3 8,836 May 31, 2023, 09:01 am
Last Post: stacey
  looking to create onion site lancerackslol 0 10,333 Aug 02, 2022, 11:32 am
Last Post: lancerackslol
  [Userscript] Discogs Scout - auto search torrents and ect from Discogs site mUPPetsBrain 0 11,086 Jun 19, 2022, 18:00 pm
Last Post: mUPPetsBrain
  [Userscript] IMDb Scout Mod - search torrents and subtitles from IMDb site mUPPetsBrain 4 31,165 Mar 17, 2022, 03:14 am
Last Post: mUPPetsBrain
  Perl vs. PHP RobertX 6 39,572 Dec 11, 2020, 04:52 am
Last Post: waregim



Users browsing this thread: 1 Guest(s)