From 8d0309eea8e48998f6f833fc9eda6e6eeaec9fd7 Mon Sep 17 00:00:00 2001 From: Wojciech Grzeszczak Date: Thu, 16 Oct 2025 13:39:36 +0200 Subject: [PATCH] Cleanup --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 404bc10..8d64ec5 100644 --- a/README.md +++ b/README.md @@ -316,15 +316,15 @@ Any user with the `superadmin` role will have immediate access to any permission #### Role management commands -The roles are stored in [User's property](https://documentation.platformos.com/developer-guide/users/user#adding-properties-to-the-user) named `roles`. +The user module automatically creates a profile for each registered user. Each profile can be assigned a set of roles. -You can append role using the `append` command: +You can append a role using the `append` command: ```liquid function result = 'modules/user/commands/profiles/roles/append', id: 1, role: "admin" ``` -You can remove role using the `remove` command: +You can remove a role using the `remove` command: ```liquid function result = 'modules/user/commands/profiles/roles/remove', id: 1, role: "admin"