Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to add regexp to the allow/denylist of path to approve #161

Open
ochurlaud opened this issue Feb 7, 2022 · 1 comment
Open

Comments

@ochurlaud
Copy link

ochurlaud commented Feb 7, 2022

In the configuration, I'd like to add a that all pages which name are .*:toc should not be approved.
Or that only pages which contain controlled_* can be approved

@ochurlaud
Copy link
Author

ochurlaud commented Mar 21, 2022

For the record, this can be done by adding a subfunction in the canApprove() one from helper.php:

function canApprove() {
and isActive()
function isActive($id = null) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant