|
|
@@ -35,13 +35,14 @@ INSERT INTO dashboard_acl
|
|
|
(
|
|
|
org_id,
|
|
|
dashboard_id,
|
|
|
+ permission,
|
|
|
role,
|
|
|
created,
|
|
|
updated
|
|
|
)
|
|
|
VALUES
|
|
|
- (-1,-1,'Viewer','2017-06-20','2017-06-20'),
|
|
|
- (-1,-1,'Editor','2017-06-20','2017-06-20')
|
|
|
+ (-1,-1, 1,'Viewer','2017-06-20','2017-06-20'),
|
|
|
+ (-1,-1, 2,'Editor','2017-06-20','2017-06-20')
|
|
|
`
|
|
|
|
|
|
mg.AddMigration("save default acl rules in dashboard_acl table", new(RawSqlMigration).
|