Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3135

Ranger always ponit out "User does not have permission for this operation" when user try to query a none-exist role

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 2.1.0
    • Fix Version/s: 3.0.0
    • Component/s: admin
    • Labels:
      None

      Description

      when i access /role/name/

      {name}

      , a Exception "User does not have permission for this operation" always been taken, even if this role doesn't exist .
      it is better to prompt user this role is not exist in this case when execute-user has admin permission.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rujia1019 rujia
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: