anphamvn edited a comment on issue #13697: URL: https://github.com/apache/superset/issues/13697#issuecomment-813394703
> @anphamvn follow the step here : > > * Set ROLE_PUBLIC as public and PUBLIC_ROLE_LIKE = ‘Gamma’ in file config.py > * Add datasource access in public role > * Re-launch superset with superset init > * If have an error ' the csrf token is missing' , set WTF_CSRF_ENABLED = False in config.py Thanks @Riskatri i followed your instructions but still no luck :) 1. Set ROLE_PUBLIC as public and PUBLIC_ROLE_LIKE = ‘Gamma’ in file config.py AUTH_ROLE_PUBLIC = 'Public' PUBLIC_ROLE_LIKE = 'Gamma'  2. Add datasource access in public role i set 'All Datasource Access on all_datasource_access  3. Re-launch superset with superset init Yes, sure :) here log file `INFO:superset.security.manager:Fetching a set of all perms to lookup which ones are missing Creating missing datasource permissions. INFO:superset.security.manager:Creating missing datasource permissions. Creating missing database permissions. INFO:superset.security.manager:Creating missing database permissions. Creating missing metrics permissions INFO:superset.security.manager:Creating missing metrics permissions Cleaning faulty perms INFO:superset.security.manager:Cleaning faulty perms`  ==> after that the error 'The CSRF missing ...' still occurred 4 I try to set WTF_CSRF_ENABLED = False and when I logged in to the page there was no response and went back to login -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
