Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CF-Level Metrics permissions check #3348

Merged
merged 3 commits into from
Jan 18, 2019
Merged

Fix CF-Level Metrics permissions check #3348

merged 3 commits into from
Jan 18, 2019

Conversation

nwmac
Copy link
Contributor

@nwmac nwmac commented Jan 16, 2019

Fixes these issues:

@nwmac nwmac self-assigned this Jan 16, 2019
@cfdreddbot
Copy link

✅ Hey nwmac! The commit authors and yourself have already signed the CLA.

@codecov
Copy link

codecov bot commented Jan 16, 2019

Codecov Report

Merging #3348 into v2-master will decrease coverage by 0.02%.
The diff coverage is 37.93%.

@@              Coverage Diff              @@
##           v2-master    #3348      +/-   ##
=============================================
- Coverage      70.99%   70.96%   -0.03%     
=============================================
  Files            661      661              
  Lines          29170    29188      +18     
  Branches        6670     6668       -2     
=============================================
+ Hits           20708    20714       +6     
- Misses          8462     8474      +12

@nwmac
Copy link
Contributor Author

nwmac commented Jan 18, 2019

@richard-cox I checked the cells API - looks like we whitelist specific metrics - so I think that is okay.

This is ready to merge

- Cell metrics used incorrect endpoint (regression)
- This whitelists certain metrics that a non-cf admin can use
- Non-cf admins can see all cell details... except apps in cells
- Also fixed issue where cell list used old action
Copy link
Contributor

@richard-cox richard-cox left a comment

Choose a reason for hiding this comment

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

Reviewed code & update with Neil, will merge once passed gates

@richard-cox richard-cox merged commit 4ca8b2e into v2-master Jan 18, 2019
@richard-cox richard-cox deleted the metrics-fixes branch January 18, 2019 13:56
KlapTrap pushed a commit that referenced this pull request Jan 29, 2019
* v2-master: (34 commits)
  v2/v3 api docs updates
  Fix create-services script used to set CF up for E2E tests
  Only prevent copy & paste in confirm dialog for production
  Fix for bug causing intermittment E2E Test failures on org tests (#3366)
  Allow e2e createService 3 attempts at creating service
  Weekly updaye 18 January (#3365)
  Change log for 2.3.0 (#3364)
  Ensure the loading indicator and the refresh button animated at the correct time. (#3363)
  Fix fetching of stats in app wall for some cases when list is maxed (#3360)
  Fix CF-Level Metrics permissions check (#3348)
  About Page Title customization support (#3356)
  Revert loading indicator fixes
  Fix app state to allow start action for offline while updating (#3350)
  Fix display of percent tooltip on metrics chart (#3361)
  Ensure the SCM type is included in store keys (#3353)
  Manually make the date selector date a moment object (#3352)
  Fix filter panel size on services and marketplace pages (#3358)
  Tidy up org spce reducer logic
  Remove full stops from empty list messages - fixes #3340
  Fix search by space name in manage users space roles table - fixes #3329
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants