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

    • Type: Change Request (Sub-task)
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.2.0rc1
    • Fix Version/s: 5.2.0rc1, 5.2 (plan)
    • Component/s: Frontend (F)
    • Labels:
      None
    • Team:
      Team B
    • Sprint:
      Sprint 67 (Aug 2020), Sprint 68 (Sep 2020), Sprint 69 (Oct 2020), Sprint 70 (Nov 2020)
    • Story Points:
      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

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

                Dates

                Created:
                Updated:
                Resolved: