user-api: use simple schema validator to be consistent how we validate between API and web views.
This commit is contained in:
parent
749f784ad9
commit
9c7ed2caf3
4 changed files with 123 additions and 14 deletions
|
|
@ -20,8 +20,8 @@
|
|||
|
||||
import logging
|
||||
|
||||
from rhodecode.api import jsonrpc_method, JSONRPCError, JSONRPCForbidden, \
|
||||
JSONRPCValidationError
|
||||
from rhodecode.api import (
|
||||
jsonrpc_method, JSONRPCError, JSONRPCForbidden, JSONRPCValidationError)
|
||||
from rhodecode.api.utils import (
|
||||
Optional, OAttr, store_update, has_superadmin_permission, get_origin,
|
||||
get_user_or_error, get_user_group_or_error, get_perm_or_error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue