mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 10:14:13 +08:00
Add security to Langauge resources
This commit is contained in:
parent
c430dacbfc
commit
eb397fba2f
2 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,7 @@ use ApiPlatform\Core\Annotation\ApiProperty;
|
|||
|
||||
/**
|
||||
* @ApiResource(
|
||||
* attributes={"security"="is_granted('ROLE_USER')"},
|
||||
* itemOperations={
|
||||
* "get"
|
||||
* },
|
||||
|
|
|
@ -8,6 +8,7 @@ use ApiPlatform\Core\Annotation\ApiProperty;
|
|||
|
||||
/**
|
||||
* @ApiResource(
|
||||
* attributes={"security"="is_granted('ROLE_USER')"},
|
||||
* itemOperations={
|
||||
* "get"
|
||||
* },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue