I have a schedule whose build scope is User that I would like to switch to Project Scoped but I am unable to and the platform doesn’t give me a clear indication as to why. Some details about the pipeline:
Consists of three datasets, all Python transforms
All part of the same project (though eventually i’d like to understand if I can do project scoped schedules for datasets across multiple projects)
I have access to all the datasets
No special circumstances apply to this pipeline as far as I can tell (sever permissions, markings, external transform or API calls, etc.)
Here’s what I see in the schedules sidebar in Data lineage when I edit the schedule.
(1) The user doesn’t have necessary permissions to create a schedule in the project of one of the targets (the default permission set requires user to have edit permissions on the projects).
(2) One of the target dataset’s job spec is in "USER_TOKEN" mode (if all of the targets are regular code repo transforms, then this can happen when the code repo is configured to run in “insecure mode” through a platform config).
You can ccheck this by navigating to the dataset page of the targets, switch to the “Details” tab, go into “Job spec” seciton, and look into the "tokenMode" key of the JSON. The value should be "SCOPED_TOKEN" for all the targets for the schedule to be in Project scope.