A
A
TTwenty
Created by Saifee on 6/6/2024 in #❓︱help
How can I implement an RBAC for my use-cases?
Interested in this!
10 replies
TTwenty
Created by A on 5/18/2024 in #❓︱help
Understanding the Worker Process?
Regarding Cron, I can also see that active changes are happening: https://github.com/twentyhq/twenty/issues/5497 which I presume IS_GMAIL_SYNC_V2_ENABLED would mean there is no need to execute the cron command?...
8 replies
TTwenty
Created by A on 5/18/2024 in #❓︱help
Understanding the Worker Process?
I have no issues with overwriting the command on the worker process using yarn worker:prod But the command yarn command:prod cron:messaging:gmail-fetch-messages-from-cache Is this command run post setup once the docker server instance is up and running? Aka the docker compose/or other deployment, executes the docker container as normal with yarn start:prod and then you have to start a shell in docker to execute the command or is it a direct replacement for yarn start:prod? What I am concerned about here is that it suggests the need for a startup script of sorts
8 replies
TTwenty
Created by A on 5/18/2024 in #❓︱help
Understanding the Worker Process?
@charles Hi again haha! Regarding this then: env variable: MESSAGE_QUEUE_TYPE=pg-boss env variable: CALENDAR_PROVIDER_GOOGLE_ENABLED=true env variable: MESSAGING_PROVIDER_GMAIL_ENABLED=true env variable: AUTH_GOOGLE_CLIENT_ID, AUTH_GOOGLE_CLIENT_SECRET, AUTH_GOOGLE_APIS_CALLBACK_URL are these the environment variables that the worker requires or are more needed on top of this? As I presume Server URL/db/redis may be required if in use
8 replies
TTwenty
Created by A on 5/18/2024 in #❓︱help
Error 404: redirect_uri_mismatch - Google Auth
Interesting @charles ok, thanks for getting back to me 🙂 I think I have setup all the redirect URLs required, on a first glance does everything appear to be in check to you?
6 replies
TTwenty
Created by A on 5/18/2024 in #❓︱help
Error 404: redirect_uri_mismatch - Google Auth
Unsure if the redirect URL params are the issue here on not in the above screenshot? The docker values are:
IS_SIGN_UP_DISABLED=false
MESSAGING_PROVIDER_GMAIL_ENABLED=true
CALENDAR_PROVIDER_GOOGLE_ENABLED=true
AUTH_GOOGLE_ENABLED=true
AUTH_GOOGLE_CLIENT_ID="18064575<redacted>apps.googleusercontent.com"
AUTH_GOOGLE_CLIENT_SECRET="GOCSPX-<redacted>"
AUTH_GOOGLE_CALLBACK_URL=${SERVER_URL}/auth/google/redirect
AUTH_GOOGLE_APIS_CALLBACK_URL=${SERVER_URL}/auth/google-apis/get-access-token
SIGN_IN_PREFILLED=false
IS_SIGN_UP_DISABLED=false
MESSAGING_PROVIDER_GMAIL_ENABLED=true
CALENDAR_PROVIDER_GOOGLE_ENABLED=true
AUTH_GOOGLE_ENABLED=true
AUTH_GOOGLE_CLIENT_ID="18064575<redacted>apps.googleusercontent.com"
AUTH_GOOGLE_CLIENT_SECRET="GOCSPX-<redacted>"
AUTH_GOOGLE_CALLBACK_URL=${SERVER_URL}/auth/google/redirect
AUTH_GOOGLE_APIS_CALLBACK_URL=${SERVER_URL}/auth/google-apis/get-access-token
SIGN_IN_PREFILLED=false
6 replies