]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/pagespec/discussion.mdwn
web commit by JeremyReed: I found a fix -- reply to myself
[git.ikiwiki.info.git] / doc / pagespec / discussion.mdwn
1 I am using ikiwiki 2.6.1.
3 I can't figure out the locked pages.
5 As an admin in preferences, I put in my Locked Pages:
7 index and downloads
9 I don't want anyone to be able to edit the front page or my downloads page.
11 That didn't work. I am using a different web browser as a different non-ikiwiki-admin user.
13 So I changed it to
15 /index and /downloads
17 That stopped me from editing the front page. It didn't say it was locked just repeatedly gave me the ikiwiki login. (How can I get it to tell me it is locked instead?)
19 I also tried
21 /index and /downloads/index
23 But I could still edit my downloads page.
25 Can someone share some hints on how to lock these two pages?
27 My source pages for the lock are:
29 source/downloads.mdwn
30 source/index.mdwn
32 My webpages to lock are:
34 public\_html/downloads/index.html
35 public\_html/index.html
37 > So I tried again with using "or" instead of "and":
38 >
39 > index or downloads
40 >
41 > And that worked. I now get a message saying it is locked and cannot be edited.
42 > To me saying "lock both 'index and downloads'" made sense while now it reads like: "lock either 'index or downloads'". Maybe the [[PageSpec]] should define "and" and "or" (beyond the examples it has).
43 >
44 > Also why did my "/index and /downloads" prevent editing the index by repeatedly showing login webpage?
45 >
46 > -JeremyReed