byceps.permissions.consent   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 18
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
wmc 0
1
"""
2
byceps.permissions.consent
3
~~~~~~~~~~~~~~~~~~~~~~~~~~
4
5
:Copyright: 2014-2024 Jochen Kupperschmidt
6
:License: Revised BSD (see `LICENSE` file for details)
7
"""
8
9 1
from flask_babel import lazy_gettext
10
11 1
from byceps.util.authz import register_permissions
12
13
14 1
register_permissions(
15
    'consent',
16
    [
17
        ('administrate', lazy_gettext('Manage consents')),
18
    ],
19
)
20