btarcahn / postii

Prototype for postii-backend
Apache License 2.0
1 stars 0 forks source link

Elevate to a multiple-role authentication system #7

Open btarcahn opened 3 years ago

btarcahn commented 3 years ago

As of #5, there are three roles for postii:

  1. User: normal user, assigned to ONE creator role.
  2. Admin: a more privileged user, can manage multiple creator roles.
  3. SuperUser: for developers and system admins only, can only be created from the Rails console.

Right now, when registering an account, it automatically assigns to a User. We need a mechanism to elevate User to Admin. There are two features that I can think of:

btarcahn commented 3 years ago

Postii basic drawio