Are there any plans to enable role creation on the...
# ui
g
Are there any plans to enable role creation on the permissions tab?
e
hey @gentle-camera-33498 we’re thinking about the best way to support building out custom roles, but there isn’t a concrete timeline on that yet
I will be sure to get back to you when we have that finalized!
g
Thanks @echoing-airport-49548!!
f
i dont see any roles created . How to create one ?
g
This feature is enabled in the 0.8.44 version. Which version are you using?
f
Hi Patrick , using v 0.8.44 only , Today i upgraded from 0.8.43
yes i did .
g
Hmmm, strange. It seems that the upgrade didn't create the roles. Can you run the restore indices job and refresh your page?
f
sorry i m not sure how to do it .
datahub is running as kubernetes cluster
g
I saw that you are using rancher to deploy the datahub, right? You have to create this job: https://github.com/acryldata/datahub-helm/blob/master/charts/datahub/templates/datahub-upgrade/datahub-restore-indices-job-template.yml This job will access your database and update elasticsearch indices.
It is important to sometimes restore your indices to guarantee that everything is indexed by elasticsearch
f
yes we are using rancher . sure let try to restore indices this way
ok let me check in DB
i dont see any entry in db
g
That is weird. Did you update the GMS image tag too? During upgrade the GMS create the policies and roles on the database.
f
yes i updated the GMS image also
Copy code
datahub-gms:
  image:
    repository: 
    tag: "v0.8.44"
i just create job . lets see hope it works
g
The restore indices use your database to restore elasticsearch indices. So, if the data is not in your database, it will not work.
@bulky-soccer-26729 Do you have any idea of ​​a process that might fail to create roles?
f
now i can see roles πŸ˜„
not sure why i cant see any data in DB 😞
g
🀨
Now I'm confused but happy that the restore indices did the job πŸ˜…
f
True πŸ˜…
Thanks a lot Patrick for the Help πŸ™‚ .
g
I'm glad to help. Now you know my trick. Before everything, I run the restore indices job πŸ˜‚
f
πŸ˜‚