Documentation
¶
Overview ¶
Package permtext holds the plain-English wording for plugin permissions, shared by the admin install prompt, the public plugin directory and the static registry page. It is host UI copy, not plugin API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Text ¶
type Text struct {
// Help is the full sentence shown next to the permission name.
Help string
// Short is the badge label of a risky permission; empty otherwise.
Short string
// Warn marks permissions that deserve a visible warning.
Warn bool
}
Text describes one permission for a human reader.
Click to show internal directories.
Click to hide internal directories.