from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
from PLC.Roles import Role, Roles
-from PLC.Auth import PasswordAuth
+from PLC.Auth import Auth
class DeleteRole(Method):
"""
roles = ['admin']
accepts = [
- PasswordAuth(),
+ Auth(),
Mixed(Role.fields['role_id'],
Role.fields['name'])
]