Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Api: For admins (us) bypass the limit of plugins that can be created #34

@TouchySpidey

Description

@TouchySpidey

When one of us is creating a plugin, do not check for the number limit.
The following two changes should do it
In PluginController.cs:GetPlugins(), set result.MaxPlugins to 9999
In PluginRepository.cs:HasReachedPluginQuota(), return 9999

When checking whether to return 9999 or act normally, the whitelist should probably check for emails instead of userids, but it's your discretion

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions