PENGIN PI! A CRM with the back bone of a feature light ERP system. Utilitarian in design, easy to extend, customize, and deploy. Made by a community, supported by Tobu Pengin.
GNU General Public License v3.0
9
stars
1
forks
source link
Address and fix issues related to the main navigation menu for better usability. #432
432: Address and Enhance Main Navigation Menu Usability
Description:
This issue focuses on addressing and resolving issues related to the main navigation menu to improve overall usability. Specifically:
Hide Menu Items for Unauthenticated Views:
Ensure proper hiding of Calendar, Forum, Tickets, and Tools from unauthenticated views to enhance security and streamline the user interface.
Store is_admin Variable in Global Context:
Store the is_admin variable, representing the result of admin_permission.can() function, in the global context of the Flask context manager. This eliminates the need for manual assignment of the is_admin boolean to a route, allowing template views to utilize the variable seamlessly.
Utilize Global Context for Permissions:
Extend the usage of the user's permission, retrieved from the global context, to control the visibility of Calendar, Tickets, Forums, and Chat. This ensures that only authenticated users with the appropriate permissions can access these systems.
By implementing these changes, we aim to simplify the handling of admin permissions, enhance the security of the application, and improve the overall usability of the main navigation menu. Please review and merge accordingly.
432: Address and Enhance Main Navigation Menu Usability
Description:
This issue focuses on addressing and resolving issues related to the main navigation menu to improve overall usability. Specifically:
Hide Menu Items for Unauthenticated Views:
Store is_admin Variable in Global Context:
is_admin
variable, representing the result ofadmin_permission.can()
function, in the global context of the Flask context manager. This eliminates the need for manual assignment of theis_admin
boolean to a route, allowing template views to utilize the variable seamlessly.Utilize Global Context for Permissions:
By implementing these changes, we aim to simplify the handling of admin permissions, enhance the security of the application, and improve the overall usability of the main navigation menu. Please review and merge accordingly.