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