mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
parent
c66fae703c
commit
e85744e1b3
5 changed files with 681 additions and 665 deletions
|
@ -51,9 +51,11 @@ Space view.
|
|||
|
||||
## Latest version
|
||||
|
||||
[Community edition: v1.64.2](https://github.com/documize/community/releases)
|
||||
[Community edition: v1.64.3](https://github.com/documize/community/releases)
|
||||
|
||||
[Enterprise edition: v1.66.2](https://documize.com/downloads)
|
||||
[Enterprise edition: v1.66.3](https://documize.com/downloads)
|
||||
|
||||
**NOTE: we do frequent product releases to ensure self-host customers enjoy the same product version as our Cloud/SaaS platform.**
|
||||
|
||||
## OS support
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ func main() {
|
|||
rt.Product = env.ProdInfo{}
|
||||
rt.Product.Major = "1"
|
||||
rt.Product.Minor = "64"
|
||||
rt.Product.Patch = "2"
|
||||
rt.Product.Patch = "3"
|
||||
rt.Product.Version = fmt.Sprintf("%s.%s.%s", rt.Product.Major, rt.Product.Minor, rt.Product.Patch)
|
||||
rt.Product.Edition = "Community"
|
||||
rt.Product.Title = fmt.Sprintf("%s Edition", rt.Product.Edition)
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -67,6 +67,18 @@ export default SimpleAuthSession.extend({
|
|||
this.get('session.content.authenticated.user.global') === true;
|
||||
}),
|
||||
|
||||
viewAnalytics: computed('session.content.authenticated.user', function () {
|
||||
return this.get('session.authenticator') !== 'authenticator:anonymous' &&
|
||||
this.get('session.content.authenticated.user.id') !== '0' &&
|
||||
this.get('session.content.authenticated.user.analytics') === true;
|
||||
}),
|
||||
|
||||
viewDashboard: computed('session.content.authenticated.user', function () {
|
||||
return this.get('session.authenticator') !== 'authenticator:anonymous' &&
|
||||
this.get('session.content.authenticated.user.id') !== '0' &&
|
||||
this.get('session.content.authenticated.user.viewUsers') === true;
|
||||
}),
|
||||
|
||||
init() {
|
||||
this._super(...arguments);
|
||||
|
||||
|
|
|
@ -4,8 +4,10 @@
|
|||
{{#link-to "folders" class=(if (eq selectItem 'spaces') 'link selected' 'link') tagName="li"}}Spaces{{/link-to}}
|
||||
{{/if}}
|
||||
{{#if (eq appMeta.edition 'Enterprise')}}
|
||||
{{#if session.isEditor}}
|
||||
{{#if session.viewDashboard}}
|
||||
{{#link-to "dashboard" class=(if (eq selectItem 'dashboard') 'link selected' 'link') tagName="li"}}Actions{{/link-to}}
|
||||
{{/if}}
|
||||
{{#if session.viewAnalytics}}
|
||||
{{#link-to "analytics" class=(if (eq selectItem 'analytics') 'link selected' 'link') tagName="li"}}Insights{{/link-to}}
|
||||
{{/if}}
|
||||
{{#link-to "folders" class=(if (eq selectItem 'spaces') 'link selected' 'link') tagName="li"}}Spaces{{/link-to}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue