1) Create some project on platform 7.2
2) It is required to add REST API app component
3) Generate react native client
gen-cuba-front react-native:app --model /home/rost/StudioProjects/testrn/projectModel.json -d ./rnclient
4) npm install
5) expo start -web
Then:
6) Login to middelware
7) Create security role with the Rest- scope
8) enable Rest access in this role (Specific permission)
9) and add this role to user
10) then login to frontend by this user
AR: endless progressbar. Our user has no rights to read users by default.
It seems, the list of all users is not great for the example, as the user should have extra permissions to read the User entity via REST. It looks like something what is extremely unsecure.
ER: Some CUBA-styled user greetings page probabbly with the user settings (change password).
Agree, see cuba-platform/restapi/issues/105 and cuba-platform/frontend/issues/233 .
Users were picked only to demonstrate data loading (as built-in entities which definitely exist).
3.0.0-beta.1 see: https://doc.cuba-platform.com/frontend/cuba-frontend-docs/v3.0.x/client-react-native/starter-guide.html
1) Create some project on platform 7.2 2) It is required to add REST API app component 3) Generate react native client
gen-cuba-front react-native:app --model /home/rost/StudioProjects/testrn/projectModel.json -d ./rnclient
4)npm install
5)expo start -web
Then: 6) Login to middelware 7) Create security role with the Rest- scope 8) enable Rest access in this role (Specific permission) 9) and add this role to user
10) then login to frontend by this user
AR: endless progressbar. Our user has no rights to read users by default. It seems, the list of all users is not great for the example, as the user should have extra permissions to read the User entity via REST. It looks like something what is extremely unsecure.
ER: Some CUBA-styled user greetings page probabbly with the user settings (change password).