NbAccessChecker
Abierto
enhancement
module:security
needs info
needs investigation
- Lenguaje dominante
- TypeScript
- Estrellas
- 8.1k
- Forks
- 1.5k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### Issue type
**I'm submitting a ...** (check one with "x")
* [ ] bug report
* [X] feature request
### feature description
*nbIsGranted to use "OR" and "AND" on permissions and resources.
for especial permissions givem from an api to especial users.
like this:
`NbSecurityModule.forRoot({
accessControl: {
custon: {
view: ['header'],
},
guest: {
parent: 'custon',
view: ['header'],
Screate: api.specialcreate,
},`
and in template.
`Post Comment`
in this example the user must have "post" OR "Screate" permission, and 'comments' and 'specialresource1' resource.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.