Commit dc145704 authored by Jure's avatar Jure
Browse files

Update README.md

parent eaf04f41
Pipeline #6045 passed with stage
in 1 minute and 2 seconds
......@@ -65,7 +65,7 @@ There are also real world/advanced examples (WIP) for [xpub (PubSweet-based jour
In [PubSweet starter](https://gitlab.coko.foundation/pubsweet/pubsweet-starter), we have two types of teams. One is a 'contributor' type, which allows you to create blogposts for the blog. The other is a 'coauthor' team type, which allows you to update a specific blogpost (write it with someone). These are the only two team types.
When your managing teams, you create a new team with a certain type, and a certain object (in the case of Contributors, you would chose the blog object as the object of the team). You can then add members to this team, and those members can then ask (and receive) authorization to create blogposts for the blog.
When you're managing teams, you create a new team with a certain type, and a certain object (in the case of Contributors, you would choose the blog object as the object of the team). You can then add members to this team, and those members can then ask for and receive authorization to create blogposts for the blog.
Authsome can be used on both the server (for authorizing API requests, e.g. [for creating collections in PubSweet](https://gitlab.coko.foundation/pubsweet/pubsweet/blob/master/packages/server/src/routes/util.js#L115)), and client (for showing/hiding UI that relates to an authorization request, e.g. a [Create Blogpost button.](https://gitlab.coko.foundation/pubsweet/pubsweet/blob/master/packages/components/PostsManager/Post.jsx#L111))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment