Improve docs
This commit is contained in:
parent
80beb70e9a
commit
71880dfc72
|
@ -47,6 +47,13 @@
|
|||
|
||||
*identity* is used for getting :term:`userid` and :term:`permissions`.
|
||||
|
||||
permission
|
||||
|
||||
Permission required for access to resource.
|
||||
|
||||
Permissions are just strings, and they have no required
|
||||
composition: you can name permissions whatever you like.
|
||||
|
||||
userid
|
||||
|
||||
User's ID, most likely his *login* or *email*
|
||||
|
|
|
@ -78,7 +78,7 @@ Public API functions
|
|||
|
||||
:param request: :class:`aiohttp.web.Request` object.
|
||||
|
||||
:param str permission: requested permission.
|
||||
:param str permission: requested :term:`permission`.
|
||||
|
||||
:param context: additional object may be passed into
|
||||
:meth:`AbstractAuthorizationPolicy.permission`
|
||||
|
|
Loading…
Reference in New Issue