Forum

API user required p...
 
Notifications
Clear all

API user required privileges to manage PlanningElement

3 Posts
2 Users
0 Reactions
2,333 Views
VINCENT Philippe
(@phvincent)
Posts: 11
Active Member
Topic starter
 
[#5563]

Hello
After nearly 2 years of Projeqtor use to manage 100+ projects, I'm using API to manage them in an industrial manner (including activities / milestones / meeting).
I can add / modify any kind of object but facing an issue with PlanningElement : when I want to update for example the 'validatedWork' of an activity, it is never taken into account.
API call is : (PUT) http://myserver/projeqtor/api/Activity with json data {'id':100, 'validatedWork'=20}
API returns : NO_CHANGE

The only way to make it work is to use an API user account with Administrator profile... which is NOT what I want in production environment for obvious security reasons.
I looked for every profile / access rights in projeqtor, playing with many combinations for my API user but no solution found.
I don't have enough time to dig into the persistence & security models of Projeqtor, could you give me feedback about that issue?

Regards

PS : using ProjeQtOr v6.2.4


 
Posted : 18 Nov 2018 11H49
(@babynus)
Posts: 14952
Member Admin
 

PS : using ProjeQtOr v6.2.4

Possibly migrating to latest stable would help.

Note that there may be some restrictions to enter validated values (defines on specific access rights) so check that used profile has rights to update validated data.
Also, valaidate work can be consolidated from sub-tasks, so change through API won't have any effect. Check consolidation rule in global parameters.


 
Posted : 18 Nov 2018 12H42
VINCENT Philippe
(@phvincent)
Posts: 11
Active Member
Topic starter
 

Hello and thank you for your reply

I'm planning to upgrade from 6.x to 7.x but not so easy due to my organization and operational constraints...
However, I finally found the missing authorization for my API user: going to Specific Access > Visibility of workload and costs = All visible solved it.

You're right, I'm using API to change validatedWork on elementary (sub)tasks only, with automatic consolidation, so I have no issue with parent tasks

Cheers


 
Posted : 21 Nov 2018 20H18
Share:

Scroll to Top