Commit 6b8da278 authored by Per Cederqvist's avatar Per Cederqvist

(Aux-Item Types): New aux-item: world-readable.

(get-text): Mention the world-readable aux item under the no-such-text
	error code.
(get-text-stat-old): Ditto.
(get-text-stat): Ditto.
parent 182146e4
......@@ -4090,8 +4090,10 @@ the following two contain only the requested portion.
@table @errorcode
@item no-such-text
The text @rarg{text} does not exits or no read permission.
This error code will also be used when attempting to fetch any text
except the motd-of-lyskom text without logging in first.
This error code will also be used when attempting to fetch texts
without logging in first. (There are some texts that are readable
without logging in: the motd-of-lyskom (@pxref{set-motd-of-lyskom}),
and texts with the @aux{world-readable} aux item set on them.)
@item text-zero
Attempt to retrieve text number 0.
......@@ -4144,8 +4146,10 @@ day it was created. The text has a single comment: text 311.
@table @errorcode
@item no-such-text
The text @rarg{text-no} does not exist, or no read access.
This error code will also be used when attempting to fetch any text
except the motd-of-lyskom text without logging in first.
This error code will also be used when attempting to fetch texts
without logging in first. (There are some texts that are readable
without logging in: the motd-of-lyskom (@pxref{set-motd-of-lyskom}),
and texts with the @aux{world-readable} aux item set on them.)
@item text-zero
Attempt to retrieve text number 0.
......@@ -6943,8 +6947,10 @@ and more.
@table @errorcode
@item no-such-text
The text @rarg{text-no} does not exist, or no read access.
This error code will also be used when attempting to fetch any text
except the motd-of-lyskom text without logging in first.
This error code will also be used when attempting to fetch texts
without logging in first. (There are some texts that are readable
without logging in: the motd-of-lyskom (@pxref{set-motd-of-lyskom}),
and texts with the @aux{world-readable} aux item set on them.)
@item text-zero
Attempt to retrieve text number 0.
......@@ -8674,6 +8680,15 @@ to.
This aux-item can only be set by the supervisor of the person.
@item world-readable [34] (text)
Texts that has this aux-item set on them can be read by everybody. It
is not even necessary to log in.
Only the author of the text can set this time. The data must be the
empty string. The hide-creator, secret, dont-garb and inherit bits
are automatically cleared.
@item mx-mime-belongs-to [10100] (text)
Data is a decimal text number that this text is an attachment to. Most
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment