Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-6148 User roles for more granular user permissions
  3. ZBXNEXT-6251

Show maintenance edit form in read-only mode when for user is not allowed to edit maintenance

XMLWordPrintable

    • Icon: Change Request (Sub-task) Change Request (Sub-task)
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 5.2.0rc1, 5.2 (plan)
    • 5.2.0rc1
    • Frontend (F)
    • None
    • Sprint 67 (Aug 2020), Sprint 68 (Sep 2020), Sprint 69 (Oct 2020), Sprint 70 (Nov 2020)
    • 0.25

      If for user is not allowed to create and edit maintenance

      1. Ability to create/update maintenance must be blocked on controller level excluding edit page
      2. For existing maintenance, edit page must be shown in read-only mode.

      To check edit access must be used CWebUser::checkAccess(CRoleHelper::ACTIONS_EDIT_MAINTENANCE).

      As examples of implementation is recommended to view how was implemented other actions like CRoleHelper::ACTIONS_EDIT_MAPS or CRoleHelper::ACTIONS_EDIT_DASHBOARDS.

            talbergs Mārtiņš Tālbergs (Inactive)
            vmaksimovs Vladimirs Maksimovs
            Team D
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: