Can an editor account change the homepage display position, and how should role permissions be restricted?
Can an author or editor account change the homepage display position, the basis for judgment is not 'whether he is an editor', but 'how large the scope of this action affects'. Writing an article is a personal matter, but topping an article changes the sorting of the entire site's homepage - the latter has already gone beyond the submission boundary and moved to the display layer. A mainstream program in the security version of October 2026 listed 'the author role can perform top article' as a fixed weakness, for the reason that a role that should only be responsible for submissions has gained the ability to affect the display of the entire site.
Why would a top priority permission be listed in the security fix
It seems to be just a 'sorting' permission, but actually it determines what visitors see on the homepage. The number of roles with submission accounts is large and diverse, and the probability of credentials being stolen or misoperated is much higher than that of a few management accounts. Lowering the action of changing the full-site display to this level is equivalent to expanding the most changeable aspect of the full-site door to the largest number of accounts. Therefore, the problem does not lie in the danger of the top priority itself, but in the fact that it was placed in the hands of the wrong role.
Three types of grain size of role capabilities
Permissions can be controlled by three grain sizes, and the finer the grain, the more maintainable they are:
| Grain size | Based on | Advantage | Hazard |
|---|---|---|---|
| By person | Grant permissions to specific accounts | Fast effect | Invalid after replacement, difficult to audit |
| By role | Authors/editors/administrators each have a set | Structure is clear | It is easy to ignore the violation of roles |
| By ability | Single article editing, full site display, and full site operations are separated | Minimum authority is implemented in earnest | High initial cost of splitting |
The core of controlling by ability is: treat 'change single article', 'change full site display', and 'full site operation' as three different levels of ability, respectively authorize, rather than pack them into one 'editor' role.
Who can change the homepage, who can change the single article
A feasible division is: contribution-type roles can only create, modify, and submit for review in their own documents; actions such as changing the display position on the homepage, adjusting the top priority, and editing the navigation, which are visible throughout the site, should be entrusted to fewer editors or administrator roles. The document itself is also divided into four states: formal, draft, pending release, and recycling bin. The rights to state transition should also be classified - the reversible operation of moving content into the recycling bin can be given to higher roles, but it does not mean that they have been given the right to change the display layer.
User groups and group permissions within the site
The AnQi CMS uses user groups and VIP groups to set different access permissions for different user groups, with capabilities assigned by group rather than by individual, which is the point of 'ability closure': a new group that can only submit articles is created, without any ability to change the display of the entire site; a few people who need to modify the homepage are placed in a separate high-privilege group. In a multi-site scenario, permissions should also distinguish between high privileges within a single site and cross-site high privileges to avoid a small in-site privilege being reused as a full-site privilege.
The benefits of defaulting high-risk interfaces to closed
A tougher cutoff at the interface layer: Within the station, operations like backup, upgrade, and multi-site are classified as high-risk areas, not open by default, and need to be explicitly enabled to use. This layer addresses the situation where 'roles are bypassed'——even if an account is misjudged or credentials are obtained, the station-level actions still have a default closed gate, and will not be granted by default because 'he is an editor'. Visibility and callable are two different things, the default closure minimizes the callable surface.
Four steps for account inventory
A list of all-site level capabilities (modify home page, modify navigation, top, backup, upgrade, cross-site operations); two, mark which groups should hold each item; three, compare the actual permissions of the current user group with the actual permissions of the VIP group to find the difference; four, all the extra ones should be收回, those that need to be temporarily opened should go through high-risk areas and be explicitly opened, and then return to the default after use.
Common questions
Question: Can't the editor manage the home page?Answer: Yes, but that is the 'Modify all-site display' level of capability, which needs to be granted separately; it cannot be assumed that the editor has it by default.
Question: Isn't authorization by role enough?Answer: Characters tend to bundle unrelated abilities together, and it is less likely to see a submission character holding the entire site's actions when abilities are categorized by level and assigned to user groups.
Question: Will the default closure of high-risk areas affect normal use?Answer: It only affects a few steps of site-wide operations, and can be explicitly enabled when needed; daily submissions and reviews are not affected.