Access control in ionic 2 app


#1

Hello,

We are creating an upgraded version of one our ionic 1 app.
It has access control management and has states to be resolved when as per user role and some other stuffs

Here is the scenario there is one model which has CRUD operations (Plans)

UserGroupA - CRUD plans
UserGroupB - Read and Update Plans
UserGroupC - Read Plans

what will be the recommended method for implement this kind of scenario.
Should i create separate pages for each user group ?
for ex:-
user-group-a
-----PlanPage << with CRUD operations
user-group-b
-----PlanPage << with Read and Update plans
user-group-c
-----PlanPage << with Read plans
Or
Should create one Plans Page and play with if else ?

any suggestion would help