mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-10 09:13:11 +08:00
Add ORPHAN_VISITS_EXCLUDED API key role
This commit is contained in:
@@ -25,4 +25,9 @@ final class RoleDefinition
|
||||
['domain_id' => $domain->getId(), 'authority' => $domain->authority],
|
||||
);
|
||||
}
|
||||
|
||||
public static function forOrphanVisitsExcluded(): self
|
||||
{
|
||||
return new self(Role::NO_ORPHAN_VISITS, []);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user