fabien0102
10/17/2017, 9:31 AMgraphcool.yml
permissions:
# User
- operation: User.create
- operation: User.delete
authentificate: true
- operation: User.update
authentificate: true
- operation: User.read
authentificate: true
Can I use any wildcard notation to shorter this?nikolasburk
User.*
should worknikolasburk
User.create
doesnโt require authenticationfabien0102
10/17/2017, 9:33 AMnikolasburk
authenticated
, not authentificate
๐ )fabien0102
10/17/2017, 9:34 AMfabien0102
10/17/2017, 9:36 AM- operation: User.create
- operation: User.*
authenticated: true
or
- operation: User.*
- operation: User.create
authenticated: true
fabien0102
10/17/2017, 9:36 AMfabien0102
10/17/2017, 9:36 AMfabien0102
10/17/2017, 9:47 AMfabien0102
10/17/2017, 9:47 AMfabien0102
10/17/2017, 9:53 AMnikolasburk
fabien0102
10/17/2017, 10:01 AMnikolasburk
User.*
is actually not available at the moment! sorry for the wrong info, itโll come soon but is currently not implemented! so I think you have to stick to your initial version, spelling out all permissions explicitly. ๐ again, sorry for the false info!fabien0102
10/17/2017, 10:02 AMร unhandled error: Wrong operation defined for ModelPermission. You supplied: '*'
fabien0102
10/17/2017, 10:02 AMfabien0102
10/17/2017, 10:04 AMUser.*
, maybe you can add a warning waiting for the full wildcard implementation ๐fabien0102
10/17/2017, 10:09 AM- operation: *
- operation: User.create
authenticated: true
Classic blacklist pattern in this casenikolasburk
"*"
will override everything elsefabien0102
10/17/2017, 10:13 AMfabien0102
10/17/2017, 10:14 AMfabien0102
10/17/2017, 10:14 AM