SEC-2010: Hierarchical Roles section of the reference documentation is missing <value> tag #2236

Closed
spring-issuemaster opened this Issue Jul 19, 2012 · 2 comments

2 participants

@spring-issuemaster

Mauro Molinari (Migrated from SEC-2010) said:

The reference documentation about hierarchical votes (section 14.4) shows the following example code:

<bean id="roleVoter" class="org.springframework.security.access.vote.RoleHierarchyVoter">
    <constructor-arg ref="roleHierarchy" />
</class>
<bean id="roleHierarchy"
        class="org.springframework.security.access.hierarchicalroles.RoleHierarchyImpl">
    <property name="hierarchy">
        ROLE_ADMIN > ROLE_STAFF
        ROLE_STAFF > ROLE_USER
        ROLE_USER > ROLE_GUEST
    </property>
</bean>

However, the property value should be put inside a tag.

@spring-issuemaster

Mauro Molinari said:

Sorry, there are some errors in my reporting, but I can't edit it :-(
The title should be "Minor error in the Hierarchical Roles section of the reference documentation" (not "Rules").
The description should talk about "hierarchical roles" (not "votes").
The component should be "Docs and website".
The "Affects version" should be 3.1.1.

@spring-issuemaster

Rob Winch said:

Thank you for submitting this issue. It has been fixed in master.

@spring-issuemaster spring-issuemaster added this to the 3.1.2 milestone Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment