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

Users denied permission to add pages #40

Closed
jamie-lynne opened this issue Mar 6, 2015 · 6 comments
Closed

Users denied permission to add pages #40

jamie-lynne opened this issue Mar 6, 2015 · 6 comments

Comments

@jamie-lynne
Copy link

I have set the start page of each namespace to have the "add new page to that namespace" box. My users are seeing "You are not allowed to add pages" when they have Delete rights in ACLs. The only users who can still see the add new page box are the Superusers I put in the configuration manager.

@Olivier-Axion
Copy link

DokuWiki speeds up browsing through the wiki by caching parsed files. Did you try to prevent the page from being cached by using the NOCACHE tag?

~~NOCACHE~~

@sshafiullah
Copy link

Placing NOCACHE on the page that contains the form solves this issue. I suggest placing this solution prominently on the README as the plugin is unusable without it

@ghost
Copy link

ghost commented Jan 22, 2016

Thanks @sshafiullah
I use this extension on our sidebar to easily add links. It was broken when new users logged in (all permissions reflected solely their own.) Placing ~~ NOCACHE ~~ on that though fixed it so now everyone only has access to add pages that they are a group of.

Cheers

@simpelpimpel
Copy link

Doesnt work for me.

Nocache-tag doesnt work
Reducing the maximum age for caching (to 1 or even -1 seconds) doesnt work
Deactivating/reactivating doesnt work
Reinstalling doesnt work
Uninstalling/installing doesnt work

It allways shows "You are not allowed to add pages" with either Users or Superusers...
ACLs are set right...

what else can I try?

@thorpj
Copy link

thorpj commented Feb 6, 2017

Has there been any progress on this issue?

Edit: I'm not 100% sure what fixed it. But in the middle of fixing an unrelated issue, I added an ACL rule that set the @admin (the role I have that has permissions to delete) to have up to the permission "edit" for the "start" page. "create", "upload" and "delete" are greyed out for some reason.

I don't understand why this would fix it, but give it a go, the change is easily reveresed if it doesn't work.

Also i noticed that in the line "//$conf['superuser'] = 'admin';" in ......../wiki/conf/local.php.dist, the username shown is different to the admin user that i've set as superuser in the web configuration. Try changing this to your superuer's username and uncomment that line. But do this at your own risk. I haven't tested it, but if it does cause trouble, you should still be to reverse the change.

@dregad
Copy link
Owner

dregad commented May 7, 2023

Looks like a duplicate of #38

@dregad dregad closed this as not planned Won't fix, can't repro, duplicate, stale May 7, 2023
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

6 participants