Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1665

Add/use "kApplication::permissionCheckingDisabled" method

    XMLWordPrintable

    Details

    • Change Log Group:
      Added
    • Change Log Message:
      Added "kApplication::permissionCheckingDisabled" method for checking if permission checking is disabled.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Plan:

      1. add "kApplication::permissionCheckingDisabled" method, that will return "true" if "root" user is logged-in and return false otherwise
      2. locate places where USER_ROOT constant is used in comparisons to evade permission checks
      3. in found places use "kApplication::permissionCheckingDisabled" method instead of checking for "root" user explicitly

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Erik Snarski [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.75h
                  2.75h