jumpserver/apps/ops/utils/mixins.py

13 lines
200 B
Python
Raw Normal View History

2016-08-09 09:27:37 +00:00
# ~*~ coding: utf-8 ~*~
2016-11-16 06:20:44 +00:00
2016-11-20 06:48:18 +00:00
class CreateSudoPrivilegesMixin(object):
2016-11-16 06:20:44 +00:00
2016-11-20 06:48:18 +00:00
def create_privilege(self):
pass
2016-11-16 06:20:44 +00:00
2016-11-20 06:48:18 +00:00
class ListSudoPrivilegesMixin(object):
2016-11-16 06:20:44 +00:00
2016-11-20 06:48:18 +00:00
def get_all_privilege(self):
2016-11-22 15:02:12 +00:00
pass