Skip to content
Snippets Groups Projects
Commit 91a3a7e8 authored by john's avatar john
Browse files

update teams in config

parent 852919ad
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,8 @@ export class BookBuilder extends React.Component {
componentWillMount () {
const { getUsers, getTeams, getCollections, getFragments } = this.props.actions
console.log(this.props.actions)
getUsers().then(
() => getTeams()
).then(
......
......@@ -32,7 +32,7 @@ export default class Navigation extends React.Component {
<NavItem>Users</NavItem>
</LinkContainer>
</Authorize>
<Authorize operation='read' object={}>
<Authorize operation='read'>
<LinkContainer to='/manage/teams'>
<NavItem>Teams</NavItem>
</LinkContainer>
......
......@@ -16,12 +16,16 @@ module.exports = {
authsome: {
mode: blogmode,
teams: {
teamContributors: {
name: 'Contributors',
permissions: 'create'
teamProduction: {
name: 'Production Editor',
permissions: 'all'
},
teamCoauthors: {
name: 'Coauthors',
teamCopyEditor: {
name: 'Copy Editor',
permissions: 'update'
},
teamauthors: {
name: 'Author',
permissions: 'update'
}
}
......
This diff is collapsed.
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