Skip to content

More Granular Permissions #45

Description

@Vhostym-the-Sojourner

First - Love the module so much. Thank you for making it. It has made theming Foundry so much easier.

For the 'issue', not sure if this should be a bug or a feature request, but here is what I am experiencing.

By default, there are permissions that Foundry has that lets modules configure to give users additional functionality. However, libThemer throws an error for my players when they load into the game.

It says:

User X lacks permission to update Setting [VmRZYfhqJiurnvkh]

I believe this is because of the ability to set presets per user. When I gave my Trusted Players access to Modify Configuration Settings within Foundry, the error goes away.

So there's a few things I wanted to ask:

  • Is there a way to set the permissions more granularly so I can give them access to presets only?
  • If not and it were added, would you have to add it within the module or would it have to be a Foundry feature request itself?
  • If the permissions cannot be updated at all, can we add a guard clause to check if the user has the appropriate permissions before trying to access that functionality so it doesn't throw the error?

My ideal scenario would be to be able to give my players limited permissions to add or update presets without giving them the full Modify Configuration Settings permission since that would allow them to 'break' Foundry (unintentionally).

Again, thank you so much for making this module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions