Skip to content

Commit

Permalink
NIFI-13220 Only allow buckets with write access dropdown when startin…
Browse files Browse the repository at this point in the history
…g version control

This closes apache#8820

Signed-off-by: David Handermann <[email protected]>
  • Loading branch information
rfellows authored and exceptionfactory committed May 13, 2024
1 parent 0c9ef91 commit 13e281d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ export class SaveVersionDialog implements OnInit {
.subscribe((buckets: BucketEntity[]) => {
if (buckets.length > 0) {
buckets.forEach((entity: BucketEntity) => {
if (entity.permissions.canRead) {
// only allow buckets to be selectable if the user can read and write to them
if (entity.permissions.canRead && entity.permissions.canWrite) {
this.bucketOptions.push({
text: entity.bucket.name,
value: entity.id,
Expand Down

0 comments on commit 13e281d

Please sign in to comment.