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