docs: rewrite README with structured overview and quick start guide
Replaces the minimal project description with a comprehensive README including a component overview table, quick start instructions, common Ansible operations, and links to detailed documentation. Aligns with Red Panda Approval™ standards.
This commit is contained in:
350
ansible/casdoor/init_data.json.j2
Normal file
350
ansible/casdoor/init_data.json.j2
Normal file
@@ -0,0 +1,350 @@
|
||||
{
|
||||
"organizations": [
|
||||
{
|
||||
"owner": "admin",
|
||||
"name": "heluca",
|
||||
"displayName": "Helu.ca",
|
||||
"websiteUrl": "https://helu.ca",
|
||||
"favicon": "https://helu.ca/media/images/favicon.original.png",
|
||||
"logo": "https://helu.ca/media/images/helu-ca_logo.original.svg",
|
||||
"passwordType": "bcrypt",
|
||||
"passwordSalt": "",
|
||||
"passwordOptions": ["AtLeast6"],
|
||||
"countryCodes": ["CA", "US"],
|
||||
"defaultAvatar": "",
|
||||
"defaultApplication": "angelia",
|
||||
"tags": [],
|
||||
"languages": ["en", "fr"],
|
||||
"masterPassword": "",
|
||||
"defaultPassword": "",
|
||||
"initScore": 2000,
|
||||
"enableSoftDeletion": false,
|
||||
"isProfilePublic": true,
|
||||
"useEmailAsUsername": true,
|
||||
"disableSignin": false,
|
||||
"accountItems": [
|
||||
{"name": "Organization", "visible": true, "viewRule": "Public", "modifyRule": "Admin"},
|
||||
{"name": "ID", "visible": true, "viewRule": "Public", "modifyRule": "Immutable"},
|
||||
{"name": "Name", "visible": true, "viewRule": "Public", "modifyRule": "Admin"},
|
||||
{"name": "Display name", "visible": true, "viewRule": "Public", "modifyRule": "Self"},
|
||||
{"name": "Avatar", "visible": true, "viewRule": "Public", "modifyRule": "Self"},
|
||||
{"name": "User type", "visible": true, "viewRule": "Public", "modifyRule": "Admin"},
|
||||
{"name": "Password", "visible": true, "viewRule": "Self", "modifyRule": "Self"},
|
||||
{"name": "Email", "visible": true, "viewRule": "Public", "modifyRule": "Self"},
|
||||
{"name": "Phone", "visible": true, "viewRule": "Public", "modifyRule": "Self"},
|
||||
{"name": "Country code", "visible": true, "viewRule": "Public", "modifyRule": "Admin"},
|
||||
{"name": "Country/Region", "visible": true, "viewRule": "Public", "modifyRule": "Self"},
|
||||
{"name": "Location", "visible": true, "viewRule": "Public", "modifyRule": "Self"},
|
||||
{"name": "Address", "visible": true, "viewRule": "Public", "modifyRule": "Self"},
|
||||
{"name": "Affiliation", "visible": true, "viewRule": "Public", "modifyRule": "Self"},
|
||||
{"name": "Title", "visible": true, "viewRule": "Public", "modifyRule": "Self"},
|
||||
{"name": "Homepage", "visible": true, "viewRule": "Public", "modifyRule": "Self"},
|
||||
{"name": "Bio", "visible": true, "viewRule": "Public", "modifyRule": "Self"},
|
||||
{"name": "Roles", "visible": true, "viewRule": "Public", "modifyRule": "Immutable"},
|
||||
{"name": "Permissions", "visible": true, "viewRule": "Public", "modifyRule": "Immutable"},
|
||||
{"name": "Groups", "visible": true, "viewRule": "Public", "modifyRule": "Admin"},
|
||||
{"name": "3rd-party logins", "visible": true, "viewRule": "Self", "modifyRule": "Self"},
|
||||
{"name": "Properties", "visible": true, "viewRule": "Admin", "modifyRule": "Admin"},
|
||||
{"name": "Is admin", "visible": true, "viewRule": "Admin", "modifyRule": "Admin"},
|
||||
{"name": "Is forbidden", "visible": true, "viewRule": "Admin", "modifyRule": "Admin"},
|
||||
{"name": "Is deleted", "visible": true, "viewRule": "Admin", "modifyRule": "Admin"},
|
||||
{"name": "Multi-factor authentication", "visible": true, "viewRule": "Self", "modifyRule": "Self"},
|
||||
{"name": "WebAuthn credentials", "visible": true, "viewRule": "Self", "modifyRule": "Self"},
|
||||
{"name": "Managed accounts", "visible": true, "viewRule": "Self", "modifyRule": "Self"}
|
||||
]
|
||||
}
|
||||
],
|
||||
"applications": [
|
||||
{
|
||||
"owner": "admin",
|
||||
"name": "angelia",
|
||||
"displayName": "Helu.ca",
|
||||
"logo": "https://helu.ca/media/images/helu-ca_logo.original.svg",
|
||||
"homepageUrl": "https://helu.ca",
|
||||
"organization": "heluca",
|
||||
"cert": "cert-heluca",
|
||||
"enablePassword": true,
|
||||
"enableSignUp": true,
|
||||
"disableSignin": false,
|
||||
"clientId": "{{ vault_angelia_oauth_client_id }}",
|
||||
"clientSecret": "{{ vault_angelia_oauth_client_secret }}",
|
||||
"providers": [],
|
||||
"signinMethods": [
|
||||
{"name": "Password", "displayName": "Password", "rule": "All"},
|
||||
{"name": "Verification code", "displayName": "Verification code", "rule": "All"},
|
||||
{"name": "WebAuthn", "displayName": "WebAuthn", "rule": "None"}
|
||||
],
|
||||
"signupItems": [
|
||||
{"name": "ID", "visible": false, "required": true, "prompted": false, "rule": "Random"},
|
||||
{"name": "Email", "visible": true, "required": true, "prompted": false, "rule": "None"},
|
||||
{"name": "Display name", "visible": true, "required": true, "prompted": false, "rule": "None"},
|
||||
{"name": "Password", "visible": true, "required": true, "prompted": false, "rule": "None"},
|
||||
{"name": "Confirm password", "visible": true, "required": true, "prompted": false, "rule": "None"},
|
||||
{"name": "Agreement", "visible": true, "required": true, "prompted": false, "rule": "None"}
|
||||
],
|
||||
"grantTypes": [
|
||||
"authorization_code",
|
||||
"password",
|
||||
"client_credentials",
|
||||
"token",
|
||||
"id_token",
|
||||
"refresh_token"
|
||||
],
|
||||
"redirectUris": [
|
||||
"https://ouranos.helu.ca/callback"
|
||||
],
|
||||
"tokenFormat": "JWT",
|
||||
"tokenFields": [],
|
||||
"expireInHours": 168,
|
||||
"failedSigninLimit": 5,
|
||||
"failedSigninFrozenTime": 15,
|
||||
"formCss": "<style>.login-panel{background-color:#ffffff;border-radius:10px;box-shadow:0 0 30px 20px rgba(255,164,21,0.12)}.ant-btn-primary{background-color:#4b96ff!important;border-color:#4b96ff!important}.ant-btn-primary:hover{background-color:#58c0ff!important;border-color:#58c0ff!important}a{color:#ffa415}a:hover{color:#ffc219}.ant-input:focus,.ant-input-focused{border-color:#4b96ff!important;box-shadow:0 0 0 2px rgba(75,150,255,0.2)!important}.ant-checkbox-checked .ant-checkbox-inner{background-color:#4b96ff!important;border-color:#4b96ff!important}</style>",
|
||||
"footerHtml": "<div style=\"text-align:center;padding:10px;color:#666;\"><a href=\"https://helu.ca\" style=\"color:#4b96ff;text-decoration:none;\">Powered by Helu.ca</a></div>"
|
||||
},
|
||||
{
|
||||
"owner": "admin",
|
||||
"name": "gitea",
|
||||
"displayName": "Gitea",
|
||||
"logo": "https://helu.ca/media/images/helu-ca_logo.original.svg",
|
||||
"homepageUrl": "https://gitea.ouranos.helu.ca",
|
||||
"organization": "heluca",
|
||||
"cert": "cert-heluca",
|
||||
"enablePassword": true,
|
||||
"enableSignUp": false,
|
||||
"clientId": "{{ vault_gitea_oauth_client_id }}",
|
||||
"clientSecret": "{{ vault_gitea_oauth_client_secret }}",
|
||||
"providers": [],
|
||||
"signinMethods": [
|
||||
{"name": "Password", "displayName": "Password", "rule": "All"}
|
||||
],
|
||||
"signupItems": [
|
||||
{"name": "ID", "visible": false, "required": true, "prompted": false, "rule": "Random"},
|
||||
{"name": "Email", "visible": true, "required": true, "prompted": false, "rule": "None"},
|
||||
{"name": "Display name", "visible": true, "required": true, "prompted": false, "rule": "None"},
|
||||
{"name": "Password", "visible": true, "required": true, "prompted": false, "rule": "None"},
|
||||
{"name": "Confirm password", "visible": true, "required": true, "prompted": false, "rule": "None"}
|
||||
],
|
||||
"grantTypes": [
|
||||
"authorization_code",
|
||||
"refresh_token"
|
||||
],
|
||||
"redirectUris": [
|
||||
"https://gitea.ouranos.helu.ca/user/oauth2/casdoor/callback"
|
||||
],
|
||||
"tokenFormat": "JWT",
|
||||
"expireInHours": 168,
|
||||
"formCss": "<style>.login-panel{background-color:#ffffff;border-radius:10px;box-shadow:0 0 30px 20px rgba(255,164,21,0.12)}.ant-btn-primary{background-color:#4b96ff!important;border-color:#4b96ff!important}.ant-btn-primary:hover{background-color:#58c0ff!important;border-color:#58c0ff!important}a{color:#ffa415}a:hover{color:#ffc219}</style>",
|
||||
"footerHtml": "<div style=\"text-align:center;padding:10px;color:#666;\"><a href=\"https://helu.ca\" style=\"color:#4b96ff;text-decoration:none;\">Powered by Helu.ca</a></div>"
|
||||
},
|
||||
{
|
||||
"owner": "admin",
|
||||
"name": "jupyterlab",
|
||||
"displayName": "JupyterLab",
|
||||
"logo": "https://helu.ca/media/images/helu-ca_logo.original.svg",
|
||||
"homepageUrl": "https://jupyterlab.ouranos.helu.ca",
|
||||
"organization": "heluca",
|
||||
"cert": "cert-heluca",
|
||||
"enablePassword": true,
|
||||
"enableSignUp": false,
|
||||
"clientId": "{{ vault_jupyterlab_oauth_client_id }}",
|
||||
"clientSecret": "{{ vault_jupyterlab_oauth_client_secret }}",
|
||||
"providers": [],
|
||||
"signinMethods": [
|
||||
{"name": "Password", "displayName": "Password", "rule": "All"}
|
||||
],
|
||||
"signupItems": [
|
||||
{"name": "ID", "visible": false, "required": true, "prompted": false, "rule": "Random"},
|
||||
{"name": "Email", "visible": true, "required": true, "prompted": false, "rule": "None"},
|
||||
{"name": "Display name", "visible": true, "required": true, "prompted": false, "rule": "None"},
|
||||
{"name": "Password", "visible": true, "required": true, "prompted": false, "rule": "None"},
|
||||
{"name": "Confirm password", "visible": true, "required": true, "prompted": false, "rule": "None"}
|
||||
],
|
||||
"grantTypes": [
|
||||
"authorization_code",
|
||||
"refresh_token"
|
||||
],
|
||||
"redirectUris": [
|
||||
"https://jupyterlab.ouranos.helu.ca/oauth2/callback"
|
||||
],
|
||||
"tokenFormat": "JWT",
|
||||
"expireInHours": 168,
|
||||
"formCss": "<style>.login-panel{background-color:#ffffff;border-radius:10px;box-shadow:0 0 30px 20px rgba(255,164,21,0.12)}.ant-btn-primary{background-color:#4b96ff!important;border-color:#4b96ff!important}.ant-btn-primary:hover{background-color:#58c0ff!important;border-color:#58c0ff!important}a{color:#ffa415}a:hover{color:#ffc219}</style>",
|
||||
"footerHtml": "<div style=\"text-align:center;padding:10px;color:#666;\"><a href=\"https://helu.ca\" style=\"color:#4b96ff;text-decoration:none;\">Powered by Helu.ca</a></div>"
|
||||
},
|
||||
{
|
||||
"owner": "admin",
|
||||
"name": "searxng",
|
||||
"displayName": "SearXNG",
|
||||
"logo": "https://helu.ca/media/images/helu-ca_logo.original.svg",
|
||||
"homepageUrl": "https://searxng.ouranos.helu.ca",
|
||||
"organization": "heluca",
|
||||
"cert": "cert-heluca",
|
||||
"enablePassword": true,
|
||||
"enableSignUp": false,
|
||||
"clientId": "{{ vault_searxng_oauth_client_id }}",
|
||||
"clientSecret": "{{ vault_searxng_oauth_client_secret }}",
|
||||
"providers": [],
|
||||
"signinMethods": [
|
||||
{"name": "Password", "displayName": "Password", "rule": "All"}
|
||||
],
|
||||
"signupItems": [
|
||||
{"name": "ID", "visible": false, "required": true, "prompted": false, "rule": "Random"},
|
||||
{"name": "Email", "visible": true, "required": true, "prompted": false, "rule": "None"},
|
||||
{"name": "Display name", "visible": true, "required": true, "prompted": false, "rule": "None"},
|
||||
{"name": "Password", "visible": true, "required": true, "prompted": false, "rule": "None"},
|
||||
{"name": "Confirm password", "visible": true, "required": true, "prompted": false, "rule": "None"}
|
||||
],
|
||||
"grantTypes": [
|
||||
"authorization_code",
|
||||
"refresh_token"
|
||||
],
|
||||
"redirectUris": [
|
||||
"https://searxng.ouranos.helu.ca/oauth2/callback"
|
||||
],
|
||||
"tokenFormat": "JWT",
|
||||
"expireInHours": 168,
|
||||
"formCss": "<style>.login-panel{background-color:#ffffff;border-radius:10px;box-shadow:0 0 30px 20px rgba(255,164,21,0.12)}.ant-btn-primary{background-color:#4b96ff!important;border-color:#4b96ff!important}.ant-btn-primary:hover{background-color:#58c0ff!important;border-color:#58c0ff!important}a{color:#ffa415}a:hover{color:#ffc219}</style>",
|
||||
"footerHtml": "<div style=\"text-align:center;padding:10px;color:#666;\"><a href=\"https://helu.ca\" style=\"color:#4b96ff;text-decoration:none;\">Powered by Helu.ca</a></div>"
|
||||
},
|
||||
{
|
||||
"owner": "admin",
|
||||
"name": "openwebui",
|
||||
"displayName": "Open WebUI",
|
||||
"logo": "https://helu.ca/media/images/helu-ca_logo.original.svg",
|
||||
"homepageUrl": "https://openwebui.ouranos.helu.ca",
|
||||
"organization": "heluca",
|
||||
"cert": "cert-heluca",
|
||||
"enablePassword": true,
|
||||
"enableSignUp": false,
|
||||
"clientId": "{{ vault_openwebui_oauth_client_id }}",
|
||||
"clientSecret": "{{ vault_openwebui_oauth_client_secret }}",
|
||||
"providers": [],
|
||||
"signinMethods": [
|
||||
{"name": "Password", "displayName": "Password", "rule": "All"}
|
||||
],
|
||||
"signupItems": [
|
||||
{"name": "ID", "visible": false, "required": true, "prompted": false, "rule": "Random"},
|
||||
{"name": "Email", "visible": true, "required": true, "prompted": false, "rule": "None"},
|
||||
{"name": "Display name", "visible": true, "required": true, "prompted": false, "rule": "None"},
|
||||
{"name": "Password", "visible": true, "required": true, "prompted": false, "rule": "None"},
|
||||
{"name": "Confirm password", "visible": true, "required": true, "prompted": false, "rule": "None"}
|
||||
],
|
||||
"grantTypes": [
|
||||
"authorization_code",
|
||||
"refresh_token"
|
||||
],
|
||||
"redirectUris": [
|
||||
"https://openwebui.ouranos.helu.ca/oauth/oidc/callback"
|
||||
],
|
||||
"tokenFormat": "JWT",
|
||||
"expireInHours": 168,
|
||||
"formCss": "<style>.login-panel{background-color:#ffffff;border-radius:10px;box-shadow:0 0 30px 20px rgba(255,164,21,0.12)}.ant-btn-primary{background-color:#4b96ff!important;border-color:#4b96ff!important}.ant-btn-primary:hover{background-color:#58c0ff!important;border-color:#58c0ff!important}a{color:#ffa415}a:hover{color:#ffc219}</style>",
|
||||
"footerHtml": "<div style=\"text-align:center;padding:10px;color:#666;\"><a href=\"https://helu.ca\" style=\"color:#4b96ff;text-decoration:none;\">Powered by Helu.ca</a></div>"
|
||||
}
|
||||
],
|
||||
"users": [
|
||||
{
|
||||
"owner": "heluca",
|
||||
"name": "robert@helu.ca",
|
||||
"type": "normal-user",
|
||||
"password": "ChangeMe!",
|
||||
"displayName": "Heluca",
|
||||
"avatar": "",
|
||||
"email": "robert@helu.ca",
|
||||
"phone": "",
|
||||
"countryCode": "CA",
|
||||
"address": [],
|
||||
"affiliation": "Helu.ca",
|
||||
"tag": "owner",
|
||||
"title": "Owner",
|
||||
"score": 2000,
|
||||
"ranking": 1,
|
||||
"isAdmin": true,
|
||||
"isForbidden": false,
|
||||
"isDeleted": false,
|
||||
"signupApplication": "angelia",
|
||||
"createdIp": "",
|
||||
"groups": []
|
||||
},
|
||||
{
|
||||
"owner": "heluca",
|
||||
"name": "r@helu.ca",
|
||||
"type": "normal-user",
|
||||
"password": "ChangeMe!",
|
||||
"displayName": "Robert",
|
||||
"avatar": "",
|
||||
"email": "r@helu.ca",
|
||||
"phone": "",
|
||||
"countryCode": "CA",
|
||||
"address": [],
|
||||
"affiliation": "Helu.ca",
|
||||
"tag": "sysadmin",
|
||||
"title": "Owner",
|
||||
"bio": "",
|
||||
"score": 2000,
|
||||
"ranking": 2,
|
||||
"isAdmin": false,
|
||||
"isForbidden": false,
|
||||
"isDeleted": false,
|
||||
"signupApplication": "angelia",
|
||||
"createdIp": "",
|
||||
"groups": []
|
||||
}
|
||||
],
|
||||
"providers": [
|
||||
{
|
||||
"owner": "admin",
|
||||
"name": "provider-email-smtp4dev",
|
||||
"displayName": "smtp4dev Email",
|
||||
"category": "Email",
|
||||
"type": "SMTP",
|
||||
"host": "{{ smtp_host }}",
|
||||
"port": {{ smtp_port }},
|
||||
"disableSsl": true,
|
||||
"fromAddress": "{{ smtp_from }}",
|
||||
"fromName": "{{ smtp_from_name }}",
|
||||
"clientSecret": ""
|
||||
}
|
||||
],
|
||||
"certs": [
|
||||
{
|
||||
"owner": "admin",
|
||||
"name": "cert-built-in",
|
||||
"displayName": "Built-in Certificate",
|
||||
"scope": "JWT",
|
||||
"type": "x509",
|
||||
"cryptoAlgorithm": "RS256",
|
||||
"bitSize": 4096,
|
||||
"expireInYears": 20,
|
||||
"certificate": "",
|
||||
"privateKey": ""
|
||||
},
|
||||
{
|
||||
"owner": "admin",
|
||||
"name": "cert-heluca",
|
||||
"displayName": "Helu.ca JWT Certificate",
|
||||
"scope": "JWT",
|
||||
"type": "x509",
|
||||
"cryptoAlgorithm": "RS256",
|
||||
"bitSize": 4096,
|
||||
"expireInYears": 20,
|
||||
"certificate": "",
|
||||
"privateKey": ""
|
||||
}
|
||||
],
|
||||
"ldaps": [],
|
||||
"models": [],
|
||||
"permissions": [],
|
||||
"roles": [],
|
||||
"groups": [],
|
||||
"adapters": [],
|
||||
"enforcers": [],
|
||||
"plans": [],
|
||||
"pricings": [],
|
||||
"payments": [],
|
||||
"products": [],
|
||||
"resources": [],
|
||||
"syncers": [],
|
||||
"tokens": [],
|
||||
"webhooks": []
|
||||
}
|
||||
Reference in New Issue
Block a user