First of all, I don't know if this is the appropriate community for this. Just give me a hint or move the post if it's not.
Let's say I have a view which should change it's content based on the user resp. on the users permission.
After some research I basically found 2 types of authorization. Role-Based and Activity-Based authorization. Now, activity-based seems pretty fine, but I don't think that is what I'm looking for. Sure, I want to authorize the user for the activity/action, but I also want to change the content based on it.
Is there a proper way to do so, or is is is just a "no go"?
Aucun commentaire:
Enregistrer un commentaire