mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 17:38:54 +00:00
70d545410d
Also moved old migrations to old_migrations folder (before deleting them entirely).
7 lines
190 B
Python
7 lines
190 B
Python
from redash import models
|
|
|
|
if __name__ == '__main__':
|
|
admin_group = models.Group.get(models.Group.name=='admin')
|
|
admin_group.permissions.append('super_admin')
|
|
admin_group.save()
|