CDS Restrictions and Roles
This commit is contained in:
19
package.json
19
package.json
@@ -12,6 +12,23 @@
|
||||
"start": "cds-serve",
|
||||
"watch-incidents": "cds watch --open ns.incidents/index.html?sap-ui-xx-viewCache=false --livereload false"
|
||||
},
|
||||
"cds": {
|
||||
"requires": {
|
||||
"[development]": {
|
||||
"auth": {
|
||||
"kind": "mocked",
|
||||
"users": {
|
||||
"alice": {
|
||||
"roles": ["support"]
|
||||
},
|
||||
"bob": {
|
||||
"roles": ["support"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
"app/*"
|
||||
@@ -19,4 +36,4 @@
|
||||
"sapux": [
|
||||
"app/incidents"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user