export default {
  computed: {
    /**
     * Allow to check if user has an access to the manager space
     * @returns {Boolean}
     */
    $_checkManagerAccess() {
      return (
        this.getCheckedData(this.getUserInfos, ['permissions', 'custom']) &&
        this.getUserInfos.permissions.custom.indexOf('access manager space') >
          -1
      )
    },
    $_checkConfuciusAccess() {
      return this.getUserInfos.permissions.add.includes('article_blog')
    }
  }
}
