In this post I am going to show an example of how the same page can show different actions depending on the role of the user.
This first view show us the page of the comment (view page) for a unrigestered user. As we can see, that kind of user only can show the posts.
This second image show us the view for a registered user. We can see that much more actions are availables.
The last image correspond to the view of the admin. The difference between this view and the view of the registered user is that the admin can add a new user and delete comments.
This first view show us the page of the comment (view page) for a unrigestered user. As we can see, that kind of user only can show the posts.
This second image show us the view for a registered user. We can see that much more actions are availables.
The last image correspond to the view of the admin. The difference between this view and the view of the registered user is that the admin can add a new user and delete comments.



No comments:
Post a Comment