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
{{ message }}
This repository was archived by the owner on Jan 29, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -369,15 +369,15 @@ Any user with the `superadmin` role will have immediate access to any permission
369
369
370
370
#### Role management commands
371
371
372
-
The roles are stored in [User's property](https://documentation.platformos.com/developer-guide/users/user#adding-properties-to-the-user) named `roles`.
372
+
The user module automatically creates a profile for each registered user. Each profile can be assigned a set of roles.
373
373
374
-
You can append role using the `append` command:
374
+
You can append a role using the `append` command:
375
375
376
376
```liquid
377
377
function result = 'modules/user/commands/profiles/roles/append', id: 1, role: "admin"
378
378
```
379
379
380
-
You can remove role using the `remove` command:
380
+
You can remove a role using the `remove` command:
381
381
382
382
```liquid
383
383
function result = 'modules/user/commands/profiles/roles/remove', id: 1, role: "admin"
0 commit comments