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

amp_role_capabilities not respected in Yourls 1.9.2 #57

Open
noob404yt opened this issue Oct 19, 2023 · 1 comment
Open

amp_role_capabilities not respected in Yourls 1.9.2 #57

noob404yt opened this issue Oct 19, 2023 · 1 comment

Comments

@noob404yt
Copy link

I tried setting a user as editor both using the config file and using this plugin (for user database) - https://gist.github.com/ediathome/e9287408d4dc36a7742dfe7ebd581e86

In both these instances, though ampRoles::Editor => array doesn't have ampCap::ManagePlugins, I am still able to manage plugins as an editor. I also tried removing ampCap::DeleteURL from editor. But, even that didn't change anything.

Is the current version - 2.3.1 incompatible with Yourls 1.9.2? Any help is appreciated.

@noob404yt
Copy link
Author

noob404yt commented Oct 19, 2023

Tried downgrading upto 1.8.2, but get the same result.
Also tried going below upto 1.7.2, but it won't install on my local environment. /admin/install.php displays empty page. Guessing it's a PHP version issue.

Update: Tried this on my web host and it works perfectly. But, when it comes to Xampp (both on Windows and Linux), this doesn't seem to work. Do I have to enable something?

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