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

XMLWordPrintable

    • Type: Change Request (Sub-task)
    • Resolution: Fixed
    • Priority: Trivial
    • 5.2.0rc1, 5.2 (plan)
    • Affects Version/s: 5.2.0rc1
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: