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

Ranger policy should support variables like $user

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.7.0, 0.6.3
    • None
    • None

    Description

      It would be good to support variables in resources and users.

      E.g.

      HDFS Resource = /home/$user
      or
      Table Resource = ${user}_*

      Users allowed = $user

      Where $user will be expanded to the current user.

      I think, resource substitution will be easy. For permission, we can use key word like we use for all users group="public". We can use key word like "USER" or something like that.

      Attachments

        1. RANGER-698.1.patch
          1 kB
          Madhan Neethiraj

        Activity

          People

            abhayk Abhay Kulkarni
            bosco Bosco
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: