Jump to content

Recommended Posts

Hi guys,

 

I have a customer management script were only logged user can view and perform tasks such as add customers and book appointments.

 

Currently only certain users can do certain thing e.g. some users can add customers and book appointments and other can only add customers or only book appointments.

What I did was create two table in mysql 'customer users' and 'appointment users', so users who can do all activities are have their username and password in both table, those who can do only one activity have log details save on only their approtiate tables i.e  'customer users' or 'appointment users'.

 

The problem is I have to go to the datebase all the time if I want to decide which user does what, I was wondering if you knew a way I can do it on my system, maybe like creating a control panel and changing the user settings from there instead.

 

Look forward to your help and advise, Thanks alot.

Link to comment
https://forums.phpfreaks.com/topic/241691-php-set-user-permissions/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.