on 08-25-2020 8:27 AM
We are developing a Fiori App for sales orders with CRUD operations using the service layer and OData, and I have a question regarding the users license while using the application. When testing the application we noticed that only “a super-user” can do anything without any license and without any limitations, does that mean that a super-user can interact with business one using the Fiori App without any license? Another question would be, how can we restrict users from doing certain things?
Hi Zain,
For Login into Service Layer, you just need a valid SAP
Business One User. You don't need a super user account.
About accessing all the Business Objects, this will depend on the User’s permissions/authorizations.
For example:
User “alex” is a Super User, will have the access to all the Business Objects because it will be having Full Authorizations.
User “alex” is not a Super User and has No
Authorization for Sales Orders, then the following response will be returned by
the Service Layer for “alex”.
You will need to assign permissions/authorizations to that user in order to access the required objects.
GET /b1s/v1/Orders
{
"error": {
"code": -3000,
"message": {
"lang": "en-us",
"value": "The logged-on user does not have permission to use this object."
}
}
}
Regarding licensing you need Indirect user access licenses for all the users that need to access Service Layer.
Hope it helps
Trinidad.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your user will need a license, nothing is completely free when using SAP. The Fiori license was in the beginning an additional license that you required but this was dropped very soon. But you still need another license.
You can restrict users with authorizations and checks in the odata/ui5
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.