34
Views
3
Comments
Using the same role set in web application as well as mobile application in ODC
Application Type
Mobile, Reactive

The need is to create a web app and mobile app for the same set of users with same roles. The roles are defined in the web application and the CHECKROLE service action is created which is referenced in mobile application. 

The pages if marked for "Authenticated Users" only, throw an error since there is no role declaration in the mobile application.

A quick ask to the community if anyone has built an app on ODC using a similar set of roles defined in a single app and referenced in another.

Thank you in advance.

2019-01-07 16-04-16
Siya
 
MVP

If you need the same role names, you must create them separately in each application. Role sharing is not available in ODC.

UserImage.jpg
Md Mansur

Hi @Alefiya Ali 

Web applications and mobile applications have their own separate roles. Either you can create the same name or different. It's not an issue, and you can assign both roles to Single User:

Ref:

https://success.outsystems.com/documentation/outsystems_developer_cloud/user_management/roles/


2023-10-19 05-09-59
Mangesh Phanse

Alefiya Ali 

We can use 'Principle of seperation of concern'

Create separate roll application. Create rolls with public access. Add dependency of this application in mobile as well as reactive app.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.