Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does it work? #120

Open
vgavrilovikj opened this issue Feb 2, 2020 · 13 comments
Open

How does it work? #120

vgavrilovikj opened this issue Feb 2, 2020 · 13 comments

Comments

@vgavrilovikj
Copy link

I have done exactly as mentioned in your tutorial, here: http://phprbac.net/docs_getting_started.php and install it properly.

However, here: http://phprbac.net/docs_getting_started.php it is not fully described how does PHP RBAC work, where should I use it, should I use it in my signup.php or in my index.php once the user is logged in. How do I give permissions and how does that writes them to the Database??

@abiusx
Copy link
Contributor

abiusx commented Feb 2, 2020 via email

@vgavrilovikj
Copy link
Author

vgavrilovikj commented Feb 2, 2020 via email

@abiusx
Copy link
Contributor

abiusx commented Feb 2, 2020 via email

@vgavrilovikj
Copy link
Author

vgavrilovikj commented Feb 2, 2020 via email

@abiusx
Copy link
Contributor

abiusx commented Feb 2, 2020 via email

@vgavrilovikj
Copy link
Author

vgavrilovikj commented Feb 2, 2020 via email

@vgavrilovikj
Copy link
Author

@abiusx is that what you meant?

@abiusx
Copy link
Contributor

abiusx commented Feb 3, 2020 via email

@tchari
Copy link

tchari commented Apr 27, 2020

This library is for actions, like "edit articles", not data like "edit article X".

I've been using this library both both unfortunately and the "edit article X" is painful to implement. What would you recommend for something like this?

@abiusx
Copy link
Contributor

abiusx commented Apr 27, 2020 via email

@tchari
Copy link

tchari commented Apr 27, 2020

Do you know of any design pattern for something like this?

@abiusx
Copy link
Contributor

abiusx commented Apr 27, 2020 via email

@tchari
Copy link

tchari commented Apr 27, 2020

@abiusx thank you!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants