mirror of
https://github.com/documize/community.git
synced 2025-08-09 15:35:27 +02:00
onboard user can no longer creates spaces or edit unless specified
This commit is contained in:
parent
db23dc8191
commit
8928e76ef4
3 changed files with 5 additions and 6 deletions
|
@ -53,15 +53,14 @@
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.document-tags {
|
|
||||||
}
|
|
||||||
|
|
||||||
.is-template {
|
.is-template {
|
||||||
color: $color-green;
|
color: $color-green;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
> .pages {
|
> .pages {
|
||||||
|
margin: 20px 0 50px 0;
|
||||||
|
|
||||||
> .wysiwyg {
|
> .wysiwyg {
|
||||||
> .is-a-page {
|
> .is-a-page {
|
||||||
.page-title {
|
.page-title {
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
{{#link-to 'folders.folder' folder.id folder.slug}}
|
{{#link-to 'folders.folder' folder.id folder.slug}}
|
||||||
<div class="regular-button button-blue" id="add-section-button">
|
<div class="regular-button button-blue" id="add-section-button">
|
||||||
<i class="material-icons">arrow_back</i>
|
<i class="material-icons">arrow_back</i>
|
||||||
<div class="name">back</div>
|
<div class="name">space</div>
|
||||||
</div>
|
</div>
|
||||||
{{/link-to}}
|
{{/link-to}}
|
||||||
|
|
||||||
|
|
|
@ -708,7 +708,7 @@ func InviteToFolder(w http.ResponseWriter, r *http.Request) {
|
||||||
a.UserID = user.RefID
|
a.UserID = user.RefID
|
||||||
a.OrgID = p.Context.OrgID
|
a.OrgID = p.Context.OrgID
|
||||||
a.Admin = false
|
a.Admin = false
|
||||||
a.Editor = true
|
a.Editor = false
|
||||||
accountID := util.UniqueID()
|
accountID := util.UniqueID()
|
||||||
a.RefID = accountID
|
a.RefID = accountID
|
||||||
|
|
||||||
|
@ -808,7 +808,7 @@ func inviteNewUserToSharedFolder(p request.Persister, email string, invitedBy en
|
||||||
a.UserID = userID
|
a.UserID = userID
|
||||||
a.OrgID = p.Context.OrgID
|
a.OrgID = p.Context.OrgID
|
||||||
a.Admin = false
|
a.Admin = false
|
||||||
a.Editor = true
|
a.Editor = false
|
||||||
accountID := util.UniqueID()
|
accountID := util.UniqueID()
|
||||||
a.RefID = accountID
|
a.RefID = accountID
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue