Selection rules for multiple access policies

Created on 29 October 2024, 25 days ago

Problem/Motivation

Selection sets allow you to assign multiple access policies to an entity. But it does not look like there is any way to dynamically select multiple access policies. I have run into situations where I would need to use selection sets when the logic for checking access needs to be a little bit more complex, and where it would be useful if multiple could be set.

I think this would be less necessary if the condition groups issue β†’ were to be completed, but I expect this one is a little bit simpler. I think both are good issues though.

Proposed resolution

I was thinking that maybe we could add an optional item to the access policy sort list that just said something like "Use entity bundle defaults" and then we could provide a little field on the bundles configuration that let's you select a selection set (if selection sets are enabled), and then the multiple access policies for that bundle.

It's possible that this is a bad UX proposal, but I thought I would at least share the idea.

User interface changes

  • Add the selection optoin "Use entity bundle defaults"
  • Add entity bundle level settings for default access policies
✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States MegaKeegMan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024