Issue: Lack of Checks for Permission Setup
Shotix opened this issue ยท 0 comments
Summary
There is currently no check in place to verify if the administrator, moderator, and login permissions are set up correctly or even exist. This could potentially cause significant issues.
Description
If the permissions are not set up correctly or do not exist, it could lead to unauthorized access or functionality not working as expected. This could have serious implications, especially on larger servers.
Steps to Reproduce
- Set up the plugin without properly configuring the permissions.
- Try to use the plugin's functionality that requires these permissions.
Expected Behavior
The plugin should check if the permissions are set up correctly and exist. If not, it should either throw an error or guide the user to set up the permissions correctly.
Actual Behavior
Currently, the plugin does not check if the permissions are set up correctly or exist.
Possible Solution
Implement checks during the plugin's initialization to verify if the permissions are set up correctly and exist. If not, throw an error or guide the user to set up the permissions correctly.
Additional Context
This issue is critical as it could lead to unauthorized access or functionality not working as expected. It should be addressed as soon as possible to prevent potential security risks or disruptions in the plugin's functionality.