Users

A User is an account that any of your users can have. Each user is assumed to have a unique email address. You can define properties for all users in the user.yml file.

User Profiles are roles in your application. Each User Profile can be associated with any number of Properties, Images, Attachments, and Model Schemas.

Sharing attributes across multiple profiles

If your multiple profiles happen to have the same Properties, you can extract them to a container profile which will group them.

Example

A company has a lot of employees, but all of them have the same attributes like name, email, emergency contact, so it would be a good idea to create a profile for "employee", and then use more specific ones for specific roles in the company.

user_profile_types/employee.yml

name: employee
properties:
  - name: name
    type: string
  - name: email
    type: string
  - name: emergency_contact
    type: string

user_profile_types/software_developer.yml

name: software_developer
properties:
  - name: programming_languages
    type: string

user_profile_types/project_manager.yml

name: project_manager
properties:
  - name: projects
    type: string

Sign up forms

Sign up forms allow users to sign up by entering their information in a form embedded in a page.

All forms should be located in the app/form_configurations directory.

Note

Check out our Creating a Sign-Up Form page to learn more about sign-up forms.

User authentication

There are a couple of ways to authenticate a user in platformOS, the most common being through an email and password pair, which the user provided via a sign-up form.

Related topics

Questions?

We are always happy to help with any questions you may have.