Banning users is a privilege for administrators and moderators only.
There is a link in the menu that enables a normal user to ban any other user. Clicking that link produces a 404 for the normal user, because the normal user is not permitted to perform that action.
The link should not be visible at all unless the user is a moderator or administrator.
Banning users is a privilege for administrators and moderators only.
There is a link in the menu that enables a normal user to ban any other user. Clicking that link produces a 404 for the normal user, because the normal user is not permitted to perform that action.
The link should not be visible at all unless the user is a moderator or administrator.