Exemple #1
0
class Two(grok.Permission):
    grok.name('permission.2')
Exemple #2
0
class ThePermission(grok.Permission):
    grok.name('the.permission')
    grok.title('The permission!')
    grok.description('This is *the* permission.')
Exemple #3
0
class One(grok.Permission):
    grok.name('permission.1')
Exemple #4
0
class Traverse(Permission):
    name('traverse')
Exemple #5
0
class Rest(Permission):
    name('rest')
    description('Used to allow access on rest API')
Exemple #6
0
class Delete(Permission):
    name('delete')
Exemple #7
0
class View(Permission):
    name('view')
Exemple #8
0
class Add(Permission):
    name('add')
Exemple #9
0
class Remove(Permission):
    name('remove')
Exemple #10
0
class Create(Permission):
    name('create')
Exemple #11
0
class Modify(Permission):
    name('modify')
Exemple #12
0
class Read(Permission):
    name('read')
Exemple #13
0
class Nothing(Permission):
    name('oms.nothing')
    title('No permissions')
    description('Every user has this permission, even anonymous')
class ThePermission(grok.Permission):
    grok.name('the.permission')