Hi,
I need to develop full featured Restaurant app using Zero and PostgreSQL db. My customer gave this requirement. Please let me know is that possible with Zero and any guidance too. Thanks in advance.
a. Super Admin : This user does have the full access to the system, including all tenants.
b. Account Manager : This user does have full access to selected tenants. Super admin will create the profile for account manager. Super admin will assign tenants to account manager. Once it is assigned, the account manager gains the full access to those tenants.
c. Restaurant Owner : This user does have full access to only one tenant (Own tenant). A request to create a restaurant (tenant) comes from restaurant owner. Following the approval by super admin/account manager, the restaurant owner gains the full access.
d. Restaurant Staff : This user does have limited access to selected tenants. Staff will gain access to tenants in the same way as delivery person.
e. Delivery Person : This user does have very limited access to selected tenants. A delivery person can work with multiple tenants. However if he has registered with the system, he will then be assigned to a tenant. Please note that he does not have register again to access another tenant. If he has to access another tenant, he must be given access to the relevant tenant by the restaurant owner/Account manager/Super admin
f. Registered Customers : Once a customer has registered with one restaurant, he does not have to register again to another restaurant to place an order. Single registration allows himself to use other tenants too.
1 Answer(s)
-
0
Hi @sampath
Yes, AspNet Zero supports PostgreSQL, see https://aspnetboilerplate.com/Pages/Documents/EF-Core-PostgreSql-Integration
As I can see, some of your requirements doesn't implemented in AspNet Zero. For example, some roles (Account Manager, Delivery Person) has access to specific tenants. You can implement this yourself.
Regards,