mirror of https://github.com/apache/nifi.git
NIFI-13220 Only allow buckets with write access dropdown when starting version control
This closes #8820 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
0c9ef91507
commit
13e281d8d7
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue