Skip to content

Commit

Permalink
fix(migration): update admin user permissions
Browse files Browse the repository at this point in the history
Signed-off-by: yeshamavani <[email protected]>
  • Loading branch information
yeshamavani authored Sep 2, 2024
1 parent cd15972 commit 5c69886
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
UPDATE main.roles SET
permissions = '{CreateTenant,ViewTenant,UpdateTenant,DeleteTenant,CreateTenantUser,CreateFeature,ViewFeature,UpdateFeature,ViewFeatureValues,UpdateFeatureValues,CreateFeatureValues,DeleteFeatureValues,10200,10201,10202,10203,10204,10216,10205,10206,10207,10208,10209,10210,10211,10212,10213,10214,10215,2,7008,8000,8001,8002,8003,7001,7002,7003,7004,7005,7006,7007,7008,7009,7010,7011,7012,7013,7014,7015,7016,7017,7018,7019,7020,7021,7022,7023,7024,7025,7026,7027,7028,7029,7030,7031,7032,7033,7034}'::text[] WHERE
name = 'SuperAdmin';
permissions = '{CreateTenant,ViewTenant,UpdateTenant,DeleteTenant,CreateTenantUser,CreateFeature,ViewFeature,UpdateFeature,ViewFeatureValues,UpdateFeatureValues,CreateFeatureValues,DeleteFeatureValues,10200,10201,10202,10203,10204,10216,10205,10206,10207,10208,10209,10210,10211,10212,10213,10214,10215,2,7008,8000,8001,8002,8003,7001,7002,7003,7004,7005,7006,7007,7008,7009,7010,7011,7012,7013,7014,7015,7016,7017,7018,7019,7020,7021,7022,7023,7024,7025,7026,7027,7028,7029,7030,7031,7032,7033,7034,7035}'::text[] WHERE
name = 'SuperAdmin';

0 comments on commit 5c69886

Please sign in to comment.