mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-10 01:03:13 +08:00
Add API tests to cover usage of orphan visits restricted keys
This commit is contained in:
@@ -32,7 +32,7 @@ class RoleResolver implements RoleResolverInterface
|
||||
$roleDefinitions[] = $this->resolveRoleForAuthority($domainAuthority);
|
||||
}
|
||||
if ($noOrphanVisits) {
|
||||
$roleDefinitions[] = RoleDefinition::forOrphanVisitsExcluded();
|
||||
$roleDefinitions[] = RoleDefinition::forNoOrphanVisits();
|
||||
}
|
||||
|
||||
return $roleDefinitions;
|
||||
|
||||
Reference in New Issue
Block a user