-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
- Users cannot change their own password
- Admins cannot change or reset users passwords
Traceback (most recent call last):
File "/code/service/tomato/lib/rpc/xmlrpc.py", line 256, in execute
res = func(*args, **kwargs)
File "/code/service/tomato/api/account.py", line 127, in account_modify
ignore_key_on_unauthorized, ignore_flag_on_unauthorized)
File "/code/service/tomato/authorization/permission_checker.py", line 226, in reduce_keys_to_allowed
auth_fail("You are not allowed to set this key.", data={"key": k})
File "/code/service/tomato/authorization/permission_checker.py", line 17, in auth_fail
auth_check(False, message, data)
File "/code/service/tomato/authorization/permission_checker.py", line 14, in auth_check
UserError.check(condition, code=UserError.DENIED, message=message, data=data)
File "/code/service/tomato/lib/error.py", line 147, in check
raise exception
UserError: unknown user error [denied]: You are not allowed to set this key.
key='password'
Metadata
Metadata
Assignees
Labels
No labels