-
Problem report
-
Resolution: Unresolved
-
Major
-
None
-
7.2.4rc1, 7.4.0alpha1
Documentation states that "settings.update" is available only to super admins, however this is no longer true in 7.2+.
- Create a non-super admin user, just a regular admin or regular user;
- assign user role "Admin" or "User";
- in User roles UI API methods field type "settings" and observe that "settings.*" and "settings.get" are available to this user role;
- using plain API, log in with regular user;
- check "settings.get" is working and pick one field to update, for example "login_attempts: 1";
- perform a "settings.update" request
{ "login_attempts": 1 }
- observe that it executed successfully.
Before in 7.0 it worked correctly and returned error "No permissions to call "settings.update"."
Also surprisingly there are not API tests regarding settings API.