How to test user permissions?

@halilesen · 02 May 2024 · 609 views
Post Reply
User avatar
halilesen
#1 ·
Posts: 57
Joined: 24 Mar 2024, 18:09
Full Name: Halil ESEN
Has liked: 12
Been liked: 9
phpBB boards are built on a robust permission system. You can set permissions for various groups and within those permissions they can move around the forum. But is it necessary to create a test account to test a user's role or capabilities in the forum? The answer is no. phpBB has a link to check user permissions. This link is found on users profile pages.

In the custom profile pages I design, I place this link in a dropdown, but if we show it on Prosilver, which is the default style, it looks like this:

phpbb-test-out-users-permissions.jpg
phpbb-test-out-users-permissions.jpg (47.58 KiB) Viewed 609 times

Click on the Test out user's permissions link on the profile page to check the user's permissions. You will then see the following information message:

Successfully transferred permissions from test1, you are now able to browse the board with this user’s permissions.
Please note that admin permissions were not transferred. You are able to revert to your permission set at any time.


What you can now do on your phpBB forum will be the same as what the user you selected can do. So how can you get back your own permission?

phpbb-restore-permissions.jpg
phpbb-restore-permissions.jpg (55.73 KiB) Viewed 609 times

To do this, click on your username or user icon in the navbar and open the dropdown. Then click on the Restore permissions link. You will then see the information message “Successfully restored original permissions.”

The process is that simple.
Post Reply
  • Similar Topics