Skip to content

Commit d9123fc

Browse files
committed
Add mq to common entity restrictions
1 parent 22e0956 commit d9123fc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

OpenFlow/src/public/Controllers.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6186,6 +6186,8 @@ export class EntityRestrictionsCtrl extends entitiesCtrl<Base> {
61866186
async EnsureCommon() {
61876187
try {
61886188
await this.newRestriction("Add any", "entities", ["$."], false);
6189+
await this.newRestriction("Create queues", "mq", ["$.[?(@ && @._type == 'queue')]"], false);
6190+
await this.newRestriction("Create exchanges", "mq", ["$.[?(@ && @._type == 'exchange')]"], false);
61896191
await this.newRestriction("Create form", "forms", ["$.[?(@ && @._type == 'form')]"], false);
61906192
await this.newRestriction("Create workflow", "openrpa", ["$.[?(@ && @._type == 'workflow')]"], false);
61916193
await this.newRestriction("Create project", "openrpa", ["$.[?(@ && @._type == 'project')]"], false);

0 commit comments

Comments
 (0)