Author Topic: On permissions, the 'SAVE_PERMISSIONS_IN_BACKGROUND' setting, and performance  (Read 2762 times)

conrado

  • Administrator
  • Hero Member
  • *****
  • Posts: 999
  • Conrado
    • View Profile
    • Feng Office
    • Email
In Feng Office 2.3.2 a new (very cool) feature was added.

Permissions can now be configured to be save on background.

This feature provides a significant performance boost - specially for large-size installations.

Why was this improvement necessary?
Because in larger installations, permission changes could mean that a lot of DB records had to be updated. Sometimes changing a users's permissions or changing a workspace or project permissions could take a long time.

So this powerful feature was added, allowing administrators to make these changes and keep on working, while the system would save the permissions "in the background", with a separate process.

More on this setting can be found here.

Required considerations
Not all servers can handle this option. For starters, your server needs to enable the 'exec' php function.

So we now (Feng Office 3.0) changed this setting to not be enabled by default for new installations.

This means that people will have fewer obstacles when installing a new Feng Office system. But administrators should be aware of this setting now, and enable it once the installation grows large enough and permission changes start to take a big impact on system performance.
Get Official Support for your Feng Office. Support the development team. Sign up for a Free Trial here.

steveg

  • Full Member
  • ***
  • Posts: 175
    • View Profile
Conrado - thanks for this post!  That is what had happened after the upgrade!  Some things slowed down that had previously been in the background.  Changing this has improved our performance back again, which was my major complaint in 3.0.  and, it was simply a setting! 

Thanks again!

conrado

  • Administrator
  • Hero Member
  • *****
  • Posts: 999
  • Conrado
    • View Profile
    • Feng Office
    • Email
Cool! Glad it helped.  :)
Get Official Support for your Feng Office. Support the development team. Sign up for a Free Trial here.

andym2009

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
I was having the same problems as some of the other users.  I installed FO on a Sinology NAS and the Admin user is working fine.
However, although I can change the permissions of users when I change the modules they may access that change is always lost, so they see nothing.
I installed the most recent version - and that resolved the issue - but left the following:

1. The Customer Collaborator User should be able to manage their own tasks - but those settings are greyed out in the permissions so they cannot.
2. Tasks with no due date show Missing Lang: Unknown as the group title when tasks are grouped by Due Date.

Otherwise, seems to work ok

Andy
« Last Edit: March 31, 2015, 05:21:09 AM by andym2009 »

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
I installed the most recent version - and that resolved the issue - but left the following:

1. The Customer Collaborator User should be able to manage their own tasks - but those settings are greyed out in the permissions so they cannot.
2. Tasks with no due date show Missing Lang: Unknown as the group title when tasks are grouped by Due Date.

Hi Andy, thanks for your feedback!

My response to your 2 points:
1- Actually no. Collaborators are not supposed to manage tasks.
2- Which language are you using? Have you installed the 3.1.2.X? Otherwise, please do so.

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

andym2009

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Hi Francisco,

1. Understood - but the help says "Is a Customer that can work on data but with restricted permissions, such as not creating or assigning tasks" and so I thought that meant they could "complete" a task for instance.

2. I am using English and I am running 3.1.2.2. (screenshot of issue attached)

BR

Andy

 

anything