Skip to content

Commit

Permalink
terminal role (#5991)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivam-nagar23 authored Oct 16, 2024
1 parent e70db64 commit 2cff702
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/casbin/10_terminal.down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DELETE FROM casbin_rule where v0='role:super-admin___' and v1='terminal';
2 changes: 2 additions & 0 deletions scripts/casbin/10_terminal.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INSERT INTO "public"."casbin_rule" ("p_type", "v0", "v1", "v2", "v3", "v4", "v5") VALUES
('p','role:super-admin___','terminal','*','*','allow','');

0 comments on commit 2cff702

Please sign in to comment.