Users

Overview of users management

The Users list is a tool for managing and organizing your app or project users. It includes viewing and editing user profiles, assigning roles and permissions, and accessing user information.

Here are some of the specific features and capabilities as follows:

  • List users: You can view a list of all registered users of your app, including details such as their username, email address, and any roles or permissions assigned to them.

  • View user profiles: You can access detailed information about each user, such as their name, contact information, and any additional fields you have defined.

  • Edit user profiles: You can modify user information such as their name, email address, or other profile fields.

  • Assign roles and permissions: You can specify each user's roles and permissions within your app, controlling what they can do and access.

  • Delete users: You can delete users from the system, removing their access to your app.

Types of users

The following are the types of users available for use:

  1. User: A simple user is a registered user of your app who has been assigned roles and permissions defined in the module settings or through the API. Simple users can typically access your app's full range of features and functionality, depending on their assigned roles and permissions.

  2. Guest: A guest user is a user who is not registered with your app but whose information you want to track and save in the backend. This might include users who make purchases or perform other actions as anonymous, non-registered users.

  3. Phone: A phone user is a registered user of your app whose phone number is their primary identifier. This can be useful for apps relying on phone-based authentication or verifying user identity through phone numbers.

  4. Service: A system user is a user that represents a system or service, such as a server or API client. System users are typically used for automation or integration purposes and do not represent real users of the app.

There is a particular type of user called the Project Admin user. The Project Admin user is created automatically when a new project is created and has all rights and permissions within the project. The Project Admin user's email is the same as the email of the account that created the project, and it has a token that can be changed in the Project Settings.

The Project Admin user can be used while establishing a new project using the CLI, as it has full access to all of the resources and functionality of the project. However, it is important to note that the Project Admin user should not be used in any circumstances in any app client for security reasons. Instead, it should only be used for administrative or integration purposes, and its token should be kept secure and confidential.

Users List

To view the list of users that are registered within your project using the CodeMash Membership module, you can go to the Cloud Management Console and navigate to the Users page under the Membership tab. This will show you a list of all the users who have registered for your app, including their usernames, email addresses, and any roles or permissions assigned to them. You can use the Users page to manage and organize your user base, view user profiles, and perform other user-related tasks.

Create New User

To create a new user, you can follow these steps:

  1. Go to the list of Users.

  2. Click on the "Add New" button in the top right corner of the page.

  3. Fill in the form with the necessary information for the new user, including their username, email address, and any other profile fields you want to include.

  4. Choose the roles and permissions that you want to assign to the user.

  5. Click on the "Create" button to create a new user.

Once you have created the new user, they will be added to the list of users in your project, and you will be able to view and manage their information using the Users page. You can also use the API or the CLI to create new users if you prefer to automate the process or perform it programmatically.

Edit User

To edit an existing user in the CodeMash Membership module, you can follow these steps:

  1. Go to the list of Users.

  2. Locate the user that you want to edit in the list of users.

  3. Click on the user's name, email/username to view their profile.

  4. Make changes to the user's information, including their username, email address, and other profile fields.

  5. Select the appropriate options from the available roles and permissions list if you want to change the user's roles or permissions.

  6. Click the "Save" button to apply changes to the user's profile.

Once you have edited the user's information, the updated information will be saved in the system. It will be reflected on the Users page and other parts of the app where the user's information is displayed. You can also use the API or the CLI to edit users if you prefer to automate the process or perform it programmatically.

In addition to editing the information for an existing user, you can also delete or block a user. To delete a user, you can follow the same steps as editing a user, but instead of clicking on the "Save" button, you can click on the "Delete" button. This will remove the user from the system and revoke access to your app. You can click on the "Block" button on the user's profile page to block a user. This will prevent the user from logging in to your app and accessing its features, but it will not delete their user account. You can unblock a user anytime by clicking on the "Unblock" button on their profile page.

User fields

The CodeMash Membership module allows you to manage and organize the users of your app or project by specifying a set of user fields that you can use to store and track information about your users. These fields can include standard information such as a user's name, email address, phone number, and custom fields that you define to store additional data.

Here is a list of the user fields that are available in the CodeMash Membership module, along with a brief description of each field:

User Type

Identification

General Information

Address

Marketing

Meta fields

Permissions

Users API methods

Exposed API user methods allow you to register and manage your users.

Last updated