mirror of
https://github.com/himool/HimoolERP.git
synced 2025-02-25 06:33:34 +08:00
12 lines
305 B
Python
12 lines
305 B
Python
from utils.permissions import BasePermission
|
|
|
|
|
|
class CategoryPermission(BasePermission):
|
|
name = 'CATEGORY'
|
|
view_set = ('POST', 'PUT', 'DELETE')
|
|
permission = 'CATEGORY_POST_PUT_DELETE'
|
|
|
|
|
|
class GoodsPermission(BasePermission):
|
|
name = 'SPECIFICATION'
|
|
view_set = ('POST', 'PUT', 'DELETE')
|