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

    • Improvement
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 2.0.0, 2.1.0
    • 3.0.0
    • admin
    • 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

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

              Dates

                Created:
                Updated: