Skip to content

EnableAllPrivileges can be optimized #11

@antonioCoco

Description

@antonioCoco

The current implementation of EnableAllPrivileges() enable a list of hardcoded privileges by their names.

The code should be refactored to dynamically retrieves the privileges from the token leveraging the function GetTokenPrivileges() and enables only the disabled ones.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions