Admin login system login.json with SUPERADMIN and role permissions
Admin roles in Backend

Appifio Creator · Lesson AS05 · Intermediate · Aura series

Admin login
& site roles

Who can do what: light editor, admin, super admin - in everyday jobs, without memorizing tech jargon.

Learning goals: Know the three roles; know where accounts are managed; never share the owner account.

Reading time: ~14 minutes · Previous: AS03, F03 · Next: AS06

Backend Admin Management login.json Accounts /cms

1. Three-role map

Backend storage holding admin session related data
Admin session
Super admin - site owner: create/delete accounts, full rights
Admin - runs content & important data
User (light editor) - more limited editing (e.g. cannot permanently delete some things)
Site guest (not logged in) ≠ admin account

2. Glossary

TermMeaningWhere you see it
login.jsonWhere the system keeps the admin account list (do not hand-edit)Backend tab · Admin Management
Still logged in as adminAdmin session still validAdmin pages / CMS
Username3-50 characters: letters, digits, underscore, hyphen, periodCreate-account / login form

3. Day-to-day jobs by role (fuller matrix)

JobGuestUserAdminSuper
Read public contentYes*YesYesYes
Submit form (append 1 row)Yes**---
Publish / edit posts, upload imagesNoYesYesYes
Add routesNoYesYesYes
Delete rows / trash / remove routesNoNoYesYes
Edit CMS system settingsNoNoYesYes
Permanently delete data filesNoNoNoYes
Create / edit / delete admin accountsNoNoList (limited)Full
Change own password / profileNoYesYesYes

* Guests may be filtered (published posts only) if content security is on - AS11.
** Contact / order forms: only when that content type allows guest append.

Admin sessions usually last about 24 hours, then you log in again. Method detail: AM06.

3b. Hard rules (do not get these wrong)

  1. Do not invent a separate “users / auth” file - use the built-in account system only (login.json is system-managed).
  2. Do not hand-edit / read login.json, or ask AI to overwrite it.
  3. Do not “hash passwords” on the page and compare them yourself - only log in through the standard form / API.
  4. The first account when nobody exists yet = super admin. Later accounts are created by a super admin.
  5. Too many wrong passwords → “Try again later” (like AS03) - wait, do not spam.

4. Practical steps

  1. Backend tab → Admin Management (related to login.json) - follow the UI to create/manage accounts.
  2. Or open CMS /your-link-name/cmsAccounts / users (if already set up - AS07).
  3. Create an editor account with a lower role than the owner - never give staff the super-admin password.
  4. Remind the team: log out on shared computers when done.

5. Comparisons

  • WordPress roles: Author / Editor / Admin - same layered-permission idea.
  • Shopify staff: per-feature permissions - Appifio is simpler with a few roles.

6. Limits & security

You can

  • Several people operating together
  • Separate editor rights from owner rights

Do not / avoid

  • Do not hand-edit login.json
  • Do not share one owner account
  • Passwords are protected by the system - do not ask AI to “print passwords on the page”.
  • Usernames outside the valid 3-50 character set are rejected.

7. Common issues

SituationFix
Button blocked / missingLog in with a higher-permission account
Forgot owner passwordRecovery via your Appifio account / support - no “bypass”

8. Checklist

  1. Can you separate site guests from admin accounts?
  2. Does each staff member have their own account, not the owner password?

AS06 - Secrets & server functions

Appifio Creator · Aura series · AS05