# Permission Management A permission is a simple policy that is granted or prohibited for a particular user, role or client. You can read more about [authorization in ABP](../../Authorization.md) document. You can get permission of authenticated user using `getGrantedPolicy` selector of `ConfigState`. You can get permission as boolean value from store: ```js import { Store } from '@ngxs/store'; import { ConfigState } from '../states'; export class YourComponent { constructor(private store: Store) {} ngOnInit(): void { const canCreate = this.store.selectSnapshot(ConfigState.getGrantedPolicy('AbpIdentity.Roles.Create')); } // ... } ``` Or you can get it via `ConfigStateService`: ```js import { ConfigStateService } from '../services/config-state.service'; export class YourComponent { constructor(private configStateService: ConfigStateService) {} ngOnInit(): void { const canCreate = this.configStateService.getGrantedPolicy('AbpIdentity.Roles.Create'); } // ... } ``` ## Permission Directive You can use the `PermissionDirective` to manage visibility of a DOM Element accordingly to user's permission. ```html