1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-09 07:25:23 +02:00

onboard user can no longer creates spaces or edit unless specified

This commit is contained in:
Harvey Kandola 2016-06-22 09:22:24 -07:00
parent db23dc8191
commit 8928e76ef4
3 changed files with 5 additions and 6 deletions

View file

@ -53,15 +53,14 @@
display: none;
}
.document-tags {
}
.is-template {
color: $color-green;
font-weight: bold;
}
> .pages {
margin: 20px 0 50px 0;
> .wysiwyg {
> .is-a-page {
.page-title {

View file

@ -42,7 +42,7 @@
{{#link-to 'folders.folder' folder.id folder.slug}}
<div class="regular-button button-blue" id="add-section-button">
<i class="material-icons">arrow_back</i>
<div class="name">back</div>
<div class="name">space</div>
</div>
{{/link-to}}

View file

@ -708,7 +708,7 @@ func InviteToFolder(w http.ResponseWriter, r *http.Request) {
a.UserID = user.RefID
a.OrgID = p.Context.OrgID
a.Admin = false
a.Editor = true
a.Editor = false
accountID := util.UniqueID()
a.RefID = accountID
@ -808,7 +808,7 @@ func inviteNewUserToSharedFolder(p request.Persister, email string, invitedBy en
a.UserID = userID
a.OrgID = p.Context.OrgID
a.Admin = false
a.Editor = true
a.Editor = false
accountID := util.UniqueID()
a.RefID = accountID