-
New Feature
-
Resolution: Unresolved
-
Major
When using multibranch projects or Job DSL, some Item s (usually Job or AbstractFolder) have a config.xml which is generated by some process and not intended to be editable by the user. This information is not currently available to core or other plugins (backup, etc.); it should be. Suggest something like
public interface GeneratedItemMarker extends ExtensionPoint { boolean isGenerated(Item item); }
which would be implemented by job-dsl to to check for GeneratedObjectsAction as here and by branch-api by checking whether the parent is MultiBranchProject or OrganizationFolder.
- relates to
-
JENKINS-32596 ACLDecorator
-
- Open
-
-
JENKINS-37220 Job DSL analogue of multibranch projects & organization folders
-
- Open
-
-
JENKINS-12548 Read-only system configuration browsing
-
- In Progress
-
As outlined in JENKINS-32596, this could perhaps also be used to remove some hacks in the way CONFIGURE is currently denied on branch projects as well as multibranch folders inside organization folders. Denying DELETE is however trickier since that is sensitive to the branch liveness status, as seen here, whereas the branch project should be considered “generated” whether the branch is alive or dead.