Custom realm admin access to Appearance tab - infinite reload issue

Hi everyone,

I’m trying to understand how the Appearance configuration should work with custom realms.

What I understand:

  1. I’ve read that the Appearance tab should only be used from master realm by superadmin users - but why this limitation?
  2. When I try to access it from a custom realm (like localhost/myCustomRealm), it goes into an infinite reload loop.

Looking at the code, I think the problem is in page-configuration.ts around line 441:
window.location.reload();

If I want a realm admin (not superadmin) to access the Appearance tab from localhost/myCustomRealm, what’s the proper approach?

Should I:

  • Modify the existing configuration page somehow?
  • Create a separate realm-specific appearance interface?
  • Just accept that all appearance config must be done from master realm?

I’d like realm admins to be able to customize their realm’s logo, colors, etc. without having master realm access.

Has anyone solved this or is there a recommended pattern?

Thanks!

Hi!

The “superuser” / “Super admin” is a user that can access data across realms.
Other regular users can only access data in their own realm.
This is why the appearance page, where you can customize the styling for each realm,
is only accessible by “super admins” that have the right to do so.

The URL for accessing a specific realm, uses a query parameter.
So it’d look like this: https://<host>/manager/?realm=myCustomRealm.
If you don’t specify a realm, it redirects to the master realm automatically.

Unfortunately there is no “customize your own realm” appearance page.
So you’d need to build a custom app to allow that, or contribute to the main repository.

Hope this helps! :wink:

1 Like