From 2c63c2265de881528a162ef56a88f25a3388388b Mon Sep 17 00:00:00 2001 From: miguel456 Date: Mon, 4 Apr 2022 10:39:36 +0100 Subject: [PATCH] feat: add support for legal doc links --- .env.example | 5 +++++ config/app.php | 25 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/.env.example b/.env.example index 1836201..e820c10 100755 --- a/.env.example +++ b/.env.example @@ -8,6 +8,11 @@ APP_AUTH_BANNER="" APP_SITEHOMEPAGE="" API_PREFIX="api" +# Add legal document links here. You may also leave them empty. +GUIDELINES_URL="#" +PRIVACY_URL="#" +TERMS_URL="#" + # The auth banner is a relative path # Hides IP addresses diff --git a/config/app.php b/config/app.php index 9e7a632..5ef0a13 100755 --- a/config/app.php +++ b/config/app.php @@ -94,6 +94,31 @@ return [ */ 'hide_ips' => env('HIDE_IPS'), + + /* + |-------------------------------------------------------------------------- + | Legal documents + |-------------------------------------------------------------------------- + | + | Every website needs a collection of legal documents in order to remain compliant with + | international & local privacy laws. These are often best known as: + | + | - Privacy Policy, where you outline your data protection practices; + | - Terms of Service, where you outline acceptable usage of your services; + | - Community Guidelines, where you outline acceptable behavior for users on your platforms. + | + | RBRecruiter will display these URLs at appropriate locations and force users to accept them, + | if legally necessary, such as in the registration & application form pages. + | + | You can leave these URLs empty if your website hasn't entered production yet, but we recommend + | you draft these documents as soon as possible. + | + */ + + 'terms_url' => env('TERMS_URL', '#'), + 'privacy_url' => env('PRIVACY_URL', '#'), + 'guidelines_url' => env('GUIDELINES_URL', '#'), + /* |-------------------------------------------------------------------------- | Application Environment