File manager - Edit - /var/www/payraty/helpdesk/resources/client/agent/use-is-agent.ts
Back
import {useAuth} from '@common/auth/use-auth'; export function useIsAgent(): boolean { const {user, hasPermission} = useAuth(); return user ? hasPermission('tickets.update') : false; }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings