From ddd6ae8688d74fb20e8fcce6a622ba2dffec86ed Mon Sep 17 00:00:00 2001 From: Miguel Ramos Date: Thu, 15 Sep 2016 23:39:50 +0100 Subject: [PATCH] ACL plugin model for issue #11. --- src/app/shared/models/plugins/acl.model.ts | 11 +++++++++++ src/app/shared/models/plugins/index.ts | 1 + 2 files changed, 12 insertions(+) create mode 100644 src/app/shared/models/plugins/acl.model.ts diff --git a/src/app/shared/models/plugins/acl.model.ts b/src/app/shared/models/plugins/acl.model.ts new file mode 100644 index 0000000..bf35ef7 --- /dev/null +++ b/src/app/shared/models/plugins/acl.model.ts @@ -0,0 +1,11 @@ +import { BaseModel } from '../base.model'; + +export class ACLModelConfig extends BaseModel { + name: string; + whitelist: string; + blacklist: string; +} + +export class ACLModel extends BaseModel { + group: string; +} diff --git a/src/app/shared/models/plugins/index.ts b/src/app/shared/models/plugins/index.ts index 077a236..683a4a8 100644 --- a/src/app/shared/models/plugins/index.ts +++ b/src/app/shared/models/plugins/index.ts @@ -4,3 +4,4 @@ export * from './oauth.model'; export * from './hmac.model'; export * from './jwt.model'; export * from './ldap.model'; +export * from './acl.model';