Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-12640

Improve the error message if the user gives a wrong entity name when granting/revoking the privileges using CLI

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.1
    • Component/s: Security
    • Labels:
    • Rank:
      1|i0084v:

      Description

      If a user gives a wrong entity name when granting/revoking privileges through CLI, the error message is not intuitive.
      For example,

      grant actions ADMIN on entity stream:input to user cdapitn
      Error: -1
      

      The error message should provide useful message to the user.

        Attachments

          Activity

            People

            • Assignee:
              yaojie Yaojie Feng
              Reporter:
              yaojie Yaojie Feng
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: