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

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: