mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 17:38:54 +00:00
7 lines
197 B
Python
7 lines
197 B
Python
from redash import models
|
|
|
|
if __name__ == '__main__':
|
|
default_group = models.Group.get(models.Group.name=='default')
|
|
default_group.permissions.append('list_users')
|
|
default_group.save()
|