- Merge request !12Issue #3310409: Add permission to view current release info β (Open) created by tim-diels
- π§πͺBelgium tim-diels Belgium π§πͺ
@bkosborne With this, you can disable the release info for users without the permission. Only the environment is still indicated what is in my eyes what you still need to be sure to know on what environment you are...
- πΊπΈUnited States bkosborne New Jersey, USA
@tim-diels the problem with making it permissions based for me is that there's a number of us in my office that are admins on all our sites, and since admins inherit ALL permissions, they'd still see it. That's why I think it would be better off as a feature flag.
- π§πͺBelgium tim-diels Belgium π§πͺ
Ok I follow you, maybe we could do both? So disable it entirely or enable it and only view when you have the permission. What you think? IF we agree, I can easily add it.
- πΊπΈUnited States bkosborne New Jersey, USA
Yes, I think doing both makes sense for sure!
- π¬π§United Kingdom joachim
Another use case is that the release number is loaded from state, which means an extra query on every page load, even if you don't use this feature.
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
Unless I am missing something, the ability to disable the deployment indicator in https://www.drupal.org/project/environment_indicator/issues/3324621 π Whether deployment identifier is used as fallback for current_release should be configurable Needs work should partially resolve this issue without permissions.