use proper scope names
This commit is contained in:
parent
1b0c5417bf
commit
c2b6d2b7ed
12
js/issuer.js
12
js/issuer.js
|
@ -106,6 +106,7 @@ $(function () {
|
|||
var callbackUrl;
|
||||
// TODO put in directives.json or similar
|
||||
var grantDescriptions = {
|
||||
// deprecated
|
||||
'oauth3_authn': "Basic secure authentication"
|
||||
, 'wallet': "Access to payments and subscriptions"
|
||||
, 'bucket': "Access to file storage"
|
||||
|
@ -114,6 +115,17 @@ $(function () {
|
|||
, 'domains:glue': "Glue Record management (for vanity nameservers)"
|
||||
, 'domains:ns': "Name Server management"
|
||||
, 'dns': "DNS records (A/AAAA, TXT, SRV, MX, etc)"
|
||||
|
||||
// new
|
||||
, 'hello@example.com': "Hello World Example Access"
|
||||
, 'authn@oauth3.org': "Basic secure authentication"
|
||||
, 'wallet@oauth3.org': "Access to payments and subscriptions"
|
||||
, 'bucket@oauth3.org': "Access to file storage"
|
||||
, 'db@oauth3.org': "Access to app data"
|
||||
, 'domains@oauth3.org': "Domain registration (and Glue and NS records)" // TODO make an alias
|
||||
, 'domains:glue@oauth3.org': "Glue Record management (for vanity nameservers)"
|
||||
, 'domains:ns@oauth3.org': "Name Server management"
|
||||
, 'dns@oauth3.org': "DNS records (A/AAAA, TXT, SRV, MX, etc)"
|
||||
, '*': "FULL ACCOUNT ACCESS"
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue