feat: lots of stuff
This commit is contained in:
25
tests/utils/utils.statements.ts
Normal file
25
tests/utils/utils.statements.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import type { Statement } from '#root/access/access.schemas.ts';
|
||||
|
||||
const statements = {
|
||||
all: [
|
||||
{
|
||||
effect: 'allow',
|
||||
resources: ['**'],
|
||||
actions: ['**'],
|
||||
},
|
||||
],
|
||||
noRead: [
|
||||
{
|
||||
effect: 'allow',
|
||||
resources: ['**'],
|
||||
actions: ['**'],
|
||||
},
|
||||
{
|
||||
effect: 'disallow',
|
||||
resources: ['**'],
|
||||
actions: ['mqtt:read'],
|
||||
},
|
||||
],
|
||||
} satisfies Record<string, Statement[]>;
|
||||
|
||||
export { statements };
|
||||
Reference in New Issue
Block a user