diff --git a/projects/demo/src/app/app.component.html b/projects/demo/src/app/app.component.html index 6651a1f..86a344b 100644 --- a/projects/demo/src/app/app.component.html +++ b/projects/demo/src/app/app.component.html @@ -60,3 +60,24 @@

+ +
+ Pipe HasRoles('ADMIN', 'USER') ?  + {{['USER','ADMIN'] | secuHasRoles | async}} +
+
+ Pipe HasAnyRoles('X', 'Y', 'Z') ?  + {{['X', 'Y', 'Z'] | secuHasAnyRoles | async}} +
+
+ Pipe IsMemberOf('GROUP_A') ?  + {{['GROUP_A'] | secuIsMemberOf | async}} +
+
+ Pipe HasPermission('simple') ?  + {{['simple'] | secuHasPermissions | async}} +
+
+ Pipe HasPermission('foo', {{'{'}}foo: {{foo.value}}{{'}'}}) ?  + {{'foo' | secuHasPermissions:foo | async}} +