Skip to content

Building UserSitemap makes frequent calls to Realm #750

Description

@davidsowerby

The UserSitemapBuilder needs to check that the current user has permission to access a page before adding it to the UserSitemap.

This is done via the UserSitemapNodeModifier and PageController.

However, each authorisation check calls the realm for the user's permissions. This is unnecessary, and could slow things down significantly when permissions need to be retrieved from an external source.

It could also cause confusion if the permissions change while the UserSitemap is being built

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions