add method: find permissions by role's ID
This commit is contained in:
@@ -16,4 +16,6 @@ public interface PermissionsService {
|
|||||||
Optional<Permissions> findById(Long permissionId);
|
Optional<Permissions> findById(Long permissionId);
|
||||||
|
|
||||||
List<Permissions> findAllPermissions();
|
List<Permissions> findAllPermissions();
|
||||||
|
|
||||||
|
List<Permissions> findPermissionsByRoleId(Long roleId);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user