Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

ACL Allowing PM to Edit Resource Plan Hours via the Planning Console

Jason116
Tera Contributor

Hi everyone,

I’m trying to allow users with the project_manager (and it_project_manager) role to redistribute allocated effort within Resource Plans directly through the Planning Console of a project.

The goal is to let Project Managers edit the following fields from the Planning Console → Resources tab:

  • Planned Hours (planned_hours)

  • Allocated / Confirmed Hours (allocated_hours)

However, the ACLs I’ve created don’t seem to have any effect — the fields remain read-only in the Planning Console, even when impersonating a Project Manager.

 

What I Have Tried

I created two field-level write ACLs on the resource_plan table:


ACL #1 – planned_hours

  • Type: Record

  • Operation: Write

  • Table: resource_plan (also tried resource_allocation)

  • Field: planned_hours

  • Requires role: project_manager

  • Script:

     
    gs.hasRole('project_manager') || gs.hasRole('it_project_manager');

ACL #2 – allocated_hours

  • Type: Record

  • Operation: Write

  • Table: resource_plan (also tried resource_allocation)

  • Field: allocated_hours

  • Requires role: project_manager

  • Script:

     
    gs.hasRole('project_manager') || gs.hasRole('it_project_manager');
     
     
0 REPLIES 0