1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-16 10:34:02 +00:00

Merge branch 'master' into resource-syncing-refactor

This commit is contained in:
lukinovec 2025-11-05 16:06:49 +01:00 committed by GitHub
commit 728d2db321
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 99 additions and 23 deletions

View file

@ -48,6 +48,8 @@ return [
* SECURITY NOTE: Keep in mind that autoincrement IDs come with potential enumeration issues (such as tenant storage URLs).
*
* @see \Stancl\Tenancy\UniqueIdentifierGenerators\UUIDGenerator
* @see \Stancl\Tenancy\UniqueIdentifierGenerators\ULIDGenerator
* @see \Stancl\Tenancy\UniqueIdentifierGenerators\UUIDv7Generator
* @see \Stancl\Tenancy\UniqueIdentifierGenerators\RandomHexGenerator
* @see \Stancl\Tenancy\UniqueIdentifierGenerators\RandomIntGenerator
* @see \Stancl\Tenancy\UniqueIdentifierGenerators\RandomStringGenerator
@ -311,7 +313,7 @@ return [
*
* Note: This will implicitly add your configured session store to the list of prefixed stores above.
*/
'scope_sessions' => true,
'scope_sessions' => in_array(env('SESSION_DRIVER'), ['redis', 'memcached', 'dynamodb', 'apc'], true),
'tag_base' => 'tenant', // This tag_base, followed by the tenant_id, will form a tag that will be applied on each cache call.
],