12 lines
185 B
Python
Executable File
12 lines
185 B
Python
Executable File
from rules import always_deny, predicate
|
|
|
|
|
|
@predicate
|
|
def can_read_brand(user, brand):
|
|
return always_deny
|
|
|
|
|
|
@predicate
|
|
def can_read_category(user, category):
|
|
return always_deny
|