You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Response: RoleInfo of role_oid (Refer mathesar/rpc/roles.py)
API behaviour:
Existing members of role base are a,b,c
Request:
database_id: 1,
role_oid: 1, //oid of `base`
members: [a, x, y] // oids of `a, x, y` (should be integers but name is specified here for ease of understanding)
API should revoke base from b and c.
revoke base from b;
revoke base from c;
API should grant base to x and y.
grant base to x;
grant base to y;
a should NOT be modified.
All these should happen in a single transaction.
If an empty array is sent for members, all member roles should be removed.
The text was updated successfully, but these errors were encountered:
Request parameters:
Response:
RoleInfo
ofrole_oid
(Refermathesar/rpc/roles.py
)API behaviour:
base
area
,b
,c
base
fromb
andc
.base
tox
andy
.a
should NOT be modified.members
, all member roles should be removed.The text was updated successfully, but these errors were encountered: