- Issue created by @Grevil
- Status changed to Postponed
over 1 year ago 7:43am 9 May 2023 - 🇩🇪Germany Anybody Porta Westfalica
Well this is good to know, but super edgy. Furthermore I'm not even sure it wouldn't work by design of the Drupal access logic if configured correctly. "Neutral" is the key point here, if there's no clear decision. Then the other field would be "asked".
So let's postpone this for now and before starting to work on this, we should be clear about how it should work and have tests first.
- Status changed to Active
over 1 year ago 1:31pm 10 May 2023 - 🇩🇪Germany Grevil
Since we are working on the entire entity through hook_entity_access, instead of defining the access per field instance, this is unfortunately not the case!
So we should convert the code, so that it works as @Anybody describes!
- 🇩🇪Germany Grevil
This was actually implemented before but broke, due to recent changes. Currently, if we have the "FALLBACK_NEUTRAL" case, we just skip to the next field. Problem is, that we do not return any access at all, If every field just simply skips this (We could also indirectly have Access:neutral, as we completely skip the hook then, nonetheless, we should set this explicitly).
- last update
over 1 year ago Composer require failure - @grevil opened merge request.
- Status changed to Needs review
over 1 year ago 1:41pm 10 May 2023 - last update
over 1 year ago Composer require failure - 🇩🇪Germany Anybody Porta Westfalica
@Grevil: Just made a textual change. Do we have a test for this? If not, it should be added here, before we merge this. Doesn't have to be done now.
- last update
over 1 year ago Composer require failure - last update
over 1 year ago Composer require failure - Status changed to Fixed
over 1 year ago 1:54pm 10 May 2023 - 🇩🇪Germany Anybody Porta Westfalica
@Grevil please create a follow-up for the multi-field tests!
Can be minor, as I think it's totally untypical to have more than one role permissions field!
- 🇩🇪Germany Grevil
Done 📌 Create tests for entities using multiple role fields Postponed .
Automatically closed - issue fixed for 2 weeks with no activity.