Closed bezhanSalleh closed 4 months ago
Update to Super Admin Permission Method Updated the method that grants super admin permissions to perform a check if the super admin is enabled before creating the role. This change adds a layer of permission verification, thereby enhancing the security of the system.
Logic Addition for Unique Page Retrieval Enhanced the logic of retrieving pages. Now, this function can filter out clustered pages and return a unique list of pages, enhancing the efficiency and accuracy of the page retrieval process.
Method Renaming and Update
The method previously known as canView
has been renamed to canAccess
for clarity. This change should align with the intent of the function more accurately, ensuring clearer understanding for future maintenance.
Removed the Parameter from a Method
Updated the shouldRegisterNavigation
method by removing the $parameters
parameter. The logic of the method is now set to check for access permissions instead of view permissions. This alteration is set to refine the access control, bolstering application security.
fixes #371