Regular users and app users

GoERP supports two classes of users: regular users and app users.

Regular users are traditional Erply users. A user is always linked to an employee record and belongs to (one) user group; the permissions are inherited from the user group. The predefined user groups are “administrators”, “sales representatives”, “cashiers” and “accountants”, but the administrators are free to rename those, create additional groups and so on.

For managing regular users, see the “Users & Employees” app in the app store. You can add a link to this app to your custom dashboard.

App users are more lightweight and are native to the GoERP platform. Authenticating an app user is not dependent on any Erply APIs.

App users come especially handy in two scenarios:

1 - When the users of this app are supposed to interact with this app only, and must be isolated from the core business. Ecommerce sites are a good example; you want to implement customer logins, without giving the customers access to billing, inventory, pricing and customer data.

However, we also implemented app users in Erply cost reporting app. Although cost reporting is used by employees most of the time, there might also be a partner or a contractor who needs to submit a reimbursement report,

2 - When you compile the app into WebAssembly and ship it as a native app (iOS, Android, Windows, Linux, Mac), or when it has to work offline. Therefore, apps with app user support by design do not/cannot redirect to an external login page (like GoERP does by default). Login must be compiled into the app.

Therefore, implementing app users requires the following steps: