mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 13:20:19 +08:00
feat: remove ID field in enforcement (#1623)
This commit is contained in:
@ -80,7 +80,6 @@ func (p *PermissionRule) GetRequest(adapterName string, permissionId string) ([]
|
|||||||
if p.V5 != "" {
|
if p.V5 != "" {
|
||||||
return nil, fmt.Errorf("too many parameters. The maximum parameter number cannot exceed %d", builtInAvailableField)
|
return nil, fmt.Errorf("too many parameters. The maximum parameter number cannot exceed %d", builtInAvailableField)
|
||||||
}
|
}
|
||||||
request = append(request, permissionId)
|
|
||||||
return request, nil
|
return request, nil
|
||||||
} else {
|
} else {
|
||||||
if p.V5 != "" {
|
if p.V5 != "" {
|
||||||
|
Reference in New Issue
Block a user