mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-23 23:05:44 +00:00
[FIX/BE-US] feat adjustment location and area
This commit is contained in:
@@ -121,6 +121,12 @@ func (s projectflockService) GetAll(c *fiber.Ctx, params *validation.Query) ([]e
|
||||
if err != nil {
|
||||
return nil, 0, nil, err
|
||||
}
|
||||
if params.TransferContext == utils.TransferContextTransferToLaying {
|
||||
if m.HasPermission(c, m.P_TransferToLaying_CreateOne) || m.HasPermission(c, m.P_TransferToLaying_UpdateOne) {
|
||||
scope.Restrict = false
|
||||
scope.IDs = nil
|
||||
}
|
||||
}
|
||||
|
||||
offset := (params.Page - 1) * params.Limit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user