aboutsummaryrefslogtreecommitdiff
path: root/doc/pagespec/discussion.mdwn
blob: ab05e3e781e892dcfe2b7018b22c8f78d580c147 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
I am using ikiwiki 2.6.1.

I can't figure out the locked pages.

As an admin in preferences, I put in my Locked Pages:

index and downloads

I don't want anyone to be able to edit the front page or my downloads page.

That didn't work. I am using a different web browser as a different non-ikiwiki-admin user.

So I changed it to

/index and /downloads

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?)

I also tried

/index and /downloads/index

But I could still edit my downloads page.

Can someone share some hints on how to lock these two pages?

My source pages for the lock are:

source/downloads.mdwn
source/index.mdwn

My webpages to lock are:

public\_html/downloads/index.html
public\_html/index.html

> So I tried again with using "or" instead of "and":
>
> index or downloads
>
> And that worked. I now get a message saying it is locked and cannot be edited.
> 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).
>
> Also why did my "/index and /downloads" prevent editing the index by repeatedly showing login webpage?
>
> -JeremyReed

>> I've clarified and/or in [[PageSpec]].
>> 
>> I can't reproduce "/index and /downloads" causing the login webpage to
>> be shown repeatedly. Sure you weren't having some independent issue with
>> logging in? --[[Joey]]