I have looked at the code and did more testing and you are right. BoltWire uses a simpler and faster algorithm than the search function and does not recognize the "." in c. Only whole page parst and the "*" symbol.
Given what you are trying to do, one approach might be to create an action like action.docs.edit which will override the default edit action on any docs page. To create it, just copy over the action.edit page and add a line like [if ! more {p0} 2 && ! admin]<(forward main.error)>[if]. You could also add another line like this: [if more {p0} 2 && ! inlist {some_auth_list} {id} && ! admin]<(forward main.error)>[if] I don't think I want to tinker with the authorization function for various reasons, but could consider it if the above suggestion doesn't work. Cheers, Dan On Wed, Feb 3, 2016 at 11:18 PM TMurNGon <tmurn...@gmail.com> wrote: > Hi Dan, > > 'C' doesn't seem to work for me. not sure if I'm doing something wrong or > if there is an issue with Boltwire. > > Thanks. > Jan > > > > On Wednesday, 3 February 2016 18:28:49 UTC+2, Dan wrote: > >> I'm not at my desk but yes A and B should work. D is not supported in >> this context. That syntax is only available for searches I think. C should >> only work if you have a separate line like main: @guest. If that doesn't >> work let me know. I'll look into it and double check. >> >> Cheers, >> > Dan >> >> >> >> On Feb 3, 2016 8:04 AM, "TMurNGon" <tmur...@gmail.com> wrote: >> > Hi Dan, >>> >>> According to my interpretation of the documentation the following should >>> work if it appears in auth.write: >>> >>> a) main: @admin (should prevent anyone other than admin from writing >>> to main specifically) >>> b) main*: @admin (should prevent anyone other than admin from writing >>> to main or any of its descendants) >>> c) main.*: @admin (should prevent anyone other than admin from >>> writing to any of the descendants of main - but still allow writing to main >>> itself) >>> d) main.+: @admin ( should prevent anyone other than admin from >>> writing to any of the direct (one level) descendants of main) >>> >>> I am fairly sure (but not completely) that I had this running a while >>> back, but now it would seem that only 'a' and 'b' work. I can't seem to >>> get 'c' and 'd' to work. >>> >>> Am I hallucinating? >>> >>> Thanks. >>> Jan >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "BoltWire" group. >>> >> To unsubscribe from this group and stop receiving emails from it, send an >>> email to boltwire+u...@googlegroups.com. >>> To post to this group, send email to bolt...@googlegroups.com. >> >> >>> Visit this group at https://groups.google.com/group/boltwire. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > You received this message because you are subscribed to the Google Groups > "BoltWire" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to boltwire+unsubscr...@googlegroups.com. > To post to this group, send email to boltwire@googlegroups.com. > Visit this group at https://groups.google.com/group/boltwire. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "BoltWire" group. To unsubscribe from this group and stop receiving emails from it, send an email to boltwire+unsubscr...@googlegroups.com. To post to this group, send email to boltwire@googlegroups.com. Visit this group at https://groups.google.com/group/boltwire. For more options, visit https://groups.google.com/d/optout.