bmarwell commented on a change in pull request #127:
URL: https://github.com/apache/shiro-site/pull/127#discussion_r733168343
##########
File path: jbake/content/permissions.adoc
##########
@@ -1,282 +1,306 @@
-# <a
name="Permissions-UnderstandingPermissionsinApacheShiro"></a>Understanding
Permissions in Apache Shiro
-
+= Understanding Permissions in Apache Shiro
+:jbake-type: page
+:jbake-status: published
+:jbake-tags: permissions, authorization
+:jbake-related: { "links": ["java-authorization-guide.html",
"webapp-tutorial.html", "get-started.html", "10-minute-tutorial.html"] }
+:idprefix:
+~~~~~~
+
+[#Permissions-UnderstandingPermissionsinApacheShiro]
Shiro defines a Permission as a statement that defines an explicit behavior or
action. It is a statement of raw functionality in an application and nothing
more. Permissions are the lowest-level constructs in security polices, and they
explicitly define only "what" the application can do.
They do _not_ at all describe "who" is able to perform the action(s).
Some examples of permissions:
-* Open a file
-* View the '/user/list' web page
-* Print documents
-* Delete the 'jsmith' user
+* Open a file
+* View the '/user/list' web page
+* Print documents
+* Delete the 'jsmith' user
Defining "who" (users) is allowed to do "what" (permissions) is an exercise of
assigning permissions to users in some way. This is always done by the
application's data model and can vary greatly across applications.
For example, permissions can be grouped in a Role and that Role could be
associated with one or more User objects. Or some applications can have a Group
of users and a Group can be assigned a Role, which by transitive association
would mean that all the Users in that Group are implicitly granted the
permissions in the Role.
There are many variations for how permissions could be granted to users - the
application determines how to model this based on the application requirements.
-<a name="Permissions-WildcardPermissions"></a>
-##Wildcard Permissions
+== Wildcard Permissions
Review comment:
Do we want to keep the anchors?
```[#Permissions-WildcardPermissions]```
##########
File path: jbake/content/issues.adoc
##########
@@ -4,6 +4,7 @@
:jbake-tags: documentation, support, community, issues, bugs
:idprefix:
:icons: font
+:jbake-description: some sort of description
Review comment:
Could we have either no description or a sensible one? :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]