Passed
Push — main ( b77d07...0a4857 )
by Jochen
07:55
created

byceps.blueprints.admin.snippet.mountpoint.authorization   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 17
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 0
1
"""
2
byceps.blueprints.admin.snippet.mountpoint.authorization
3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4
5
:Copyright: 2006-2021 Jochen Kupperschmidt
6
:License: Revised BSD (see `LICENSE` file for details)
7
"""
8
9 1
from byceps.util.authorization import create_permission_enum
10
11
12 1
SnippetMountpointPermission = create_permission_enum(
13
    'snippet_mountpoint',
14
    [
15
        'create',
16
        'delete',
17
    ],
18
)
19