Annotation Interface ReadOnlyConfigurationAware


@Retention(RUNTIME) @Target(METHOD) public @interface ReadOnlyConfigurationAware
Marker for Struts action methods which update build or deployment configuration. Used by ReadOnlyConfigurationEditInterceptor to block crafted form submits from updating entities that are RSS managed or for which a user only has BambooPermission.VIEW_CONFIGURATION permission.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Indicates that, for RSS managed plans, a plan action that can capable of modifying both chains and jobs is allowed to modify the chains, but blocked for the jobs.
  • Element Details

    • rssBlockJobsOnly

      boolean rssBlockJobsOnly
      Indicates that, for RSS managed plans, a plan action that can capable of modifying both chains and jobs is allowed to modify the chains, but blocked for the jobs. Lack of edit permission blocks the action regardless of this setting.
      Default:
      false