mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 19:35:02 -02:30
adds help-text for scopes
This commit is contained in:
@@ -109,7 +109,7 @@ class OAuth2AccessToken(AbstractAccessToken):
|
||||
)
|
||||
scope = models.TextField(
|
||||
blank=True,
|
||||
help_text=_('Allowed scopes, further restricts user\'s permissions.')
|
||||
help_text=_('Allowed scopes, further restricts user\'s permissions. Must be a simple space-separated string with allowed scopes [\'read\', \'write\'].')
|
||||
)
|
||||
|
||||
def is_valid(self, scopes=None):
|
||||
|
||||
Reference in New Issue
Block a user