mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-10 09:13:11 +08:00
Implemented mechanism to add/remove roles from API keys
This commit is contained in:
@@ -29,6 +29,11 @@ class ApiKeyRole extends AbstractEntity
|
||||
return $this->meta;
|
||||
}
|
||||
|
||||
public function updateMeta(array $newMeta): void
|
||||
{
|
||||
$this->meta = $newMeta;
|
||||
}
|
||||
|
||||
public function apiKey(): ApiKey
|
||||
{
|
||||
return $this->apiKey;
|
||||
|
||||
Reference in New Issue
Block a user