Replies: 6 comments 3 replies
-
|
Related discussion: #23486 |
Beta Was this translation helpful? Give feedback.
-
|
@mpalavrov @danielFesenmeyer I like the idea and it should be quick and easy to implement if one of you wants to submit a PR to implement #17732. The only thing that I wonder is if there was some reason for not implementing it years ago. @stianst @mposolda ? If we do this I'd like to avoid creating a new main tab off of Realm Settings. We have too many tabs there already. I suggest breaking Realm settings -> General into two subtabs. The two subtabs would be "Settings" and "Attributes". The "Settings" subtab would just be what we have now for General. And then the "Attributes" subtab would be where you edit the realm attributes. We already have a React component for editing attributes. See use of KeyValueInput on the General tab for an example. |
Beta Was this translation helpful? Give feedback.
-
|
Realm attributes are used behind the scenes for a lot of configuration options exposed elsewhere. This can be seen in the screenshot in the description. All these attributes are just exposing the configuration option exposed elsewhere. To 99.99% of users having realm attributes exposed in the UI is just confusing. There's a few folks that use it to configure custom extensions with their own custom attributes, but when we've discussed this in the past the use-cases have actually been to configure other type of providers, where it would make more sense to do the config at the provider level. I'd rather improve on support for configuring providers instead of exposing adding realm attributes, which honestly I see as a bit of an anti-pattern. |
Beta Was this translation helpful? Give feedback.
-
|
Well, I had this same problem a while ago. Me and my team were using the realm attributes to configure some custom requiredAction providers and we wanted them to be accessible through the admin console. I did ask if this would be a good idea and @stianst told me the same as he did now :) The realm attributes are used for several realm configs that should not be exposed to users, even admins. So, in order to solve this, I made a custom admin console theme that adds a new tab to realm settings page. In this tab, only the realm attributes added by the admin are listed. I did this by simply adding a prefix to all the settings that should be accessible on this page (in my case, I chose The counter part is the need to add the prefix in code, to access this attributes, but I think it works... |
Beta Was this translation helpful? Give feedback.
-
|
Any update on this one? |
Beta Was this translation helpful? Give feedback.
-
|
Hi guys |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to suggest to add a tab for viewing/editing the Realm Attributes in the Admin Console v2, similar to what we have in our custom Admin Console with the Admin Console v2:

Beta Was this translation helpful? Give feedback.
All reactions