Skip to content

Commit

Permalink
(#34) | steps for add missing role
Browse files Browse the repository at this point in the history
  • Loading branch information
vedfordev committed Nov 27, 2024
1 parent 88bc9fc commit b7fdc2a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions reportingSystem/superset_db_sqllite_to_postgres.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,22 @@ docker inspect avnisuperset_4.0.1
sudo certbot --nginx -d test-reporting-superset.avniproject.org
sudo certbot renew --cert-name test-reporting-superset.avniproject.org
```



### Post Deployment Task
1. Go to ec2 and flag and after completing task remove that
```shell
#ssh to ec2
docker exec -it -u root avnisuperset_4.0.1 bash
#you are inside docker
vi superset_config.py
# add flag : FAB_ADD_SECURITY_API = True
superset init
exit
#outside container
docker restart avnisuperset_4.0.1
```

2. Add permissions to role. First take ids from file [/assets/role_permission_upgrade.sql](https://github.com/avniproject/avni-infra/blob/superset/reportingSystem/superset/assets/role_permission_upgrade.sql). put iy into [/assets/RoleUpgrade.js](https://github.com/avniproject/avni-infra/blob/superset/reportingSystem/superset/assets/RoleUpgrade.js)
and run scripts.

0 comments on commit b7fdc2a

Please sign in to comment.