Skip to content

Ensuring access to the underlying component when accessing property history#884

Closed
mcgilman wants to merge 1 commit intoapache:masterfrom
mcgilman:NIFI-2587
Closed

Ensuring access to the underlying component when accessing property history#884
mcgilman wants to merge 1 commit intoapache:masterfrom
mcgilman:NIFI-2587

Conversation

@mcgilman
Copy link
Copy Markdown
Contributor

NIFI-2587:

  • Adding additional authorization for accessing component property history.

// authorize the flow
authorizeFlow();

boolean authorized = false;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mcgilman I think we can get rid of this 'authorized' variable all together here. Instead, we can just do a 'return' where we have 'authorized = true' and then we can avoid ever even needing to check it. Seems like it would make the code a little simpler & easier to follow - what you do think?

- Adding additional authorization for accessing component property history.
@mcgilman
Copy link
Copy Markdown
Contributor Author

Good call @markap14. I've updated the PR accordingly. Thanks!

@markap14
Copy link
Copy Markdown
Contributor

Looks good @mcgilman ! +1 merged to master.

@mcgilman
Copy link
Copy Markdown
Contributor Author

Thanks!

@mcgilman mcgilman closed this Aug 18, 2016
@mcgilman mcgilman deleted the NIFI-2587 branch September 15, 2016 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants