babynus post=39768 wrote: Specific access is defined on objet of class HabilitationOther.
Yes. I know that. But my question was different.
One object of class habilitationOther look like this:
{
"id": "100",
"idProfile": "2",
"nameProfile": "Supervisor",
"scope": "canUpdateCreation",
"rightAccess": "2"
}
How can i get correct rightAccess value. Because value 2 doesn't say anything. Comparing to class habilitation. We have:
{
"id": "1",
"idProfile": "1",
"nameProfile": "Administrator",
"idMenu": "14",
"nameMenu": "Environmental parameters",
"allowAccess": "1"
}
Having this, i can call endpoint
api/AccessProfile/search/id=1 and assing property name. And similar ror idMenu
api/Menu/search/id=1
How can i do the same for
habilitationOther? Because
rightAccess is not the same as allow access, and this value is depend on
scope, which mean, different
scope, can have different
rightAccess with same id. The same for scope. How can i resolve valiue canUpdateCreation form json returned by api to value
Can update creation information which is visible on GUI