fabric8-services / fabric8-wit

wit stands for Work Item Tracker
http://devdoc.almighty.io/
Apache License 2.0
45 stars 86 forks source link

Add permissions to trackerqueries #2382

Closed DhritiShikhar closed 5 years ago

DhritiShikhar commented 5 years ago

Allows only space collaborator (space owner is a collaborator as well) to create or delete trackerqueries

codecov[bot] commented 5 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ac1460f). Click here to learn what that means. The diff coverage is 39.13%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2382   +/-   ##
=========================================
  Coverage          ?   67.68%           
=========================================
  Files             ?      182           
  Lines             ?    17923           
  Branches          ?        0           
=========================================
  Hits              ?    12131           
  Misses            ?     4624           
  Partials          ?     1168
Impacted Files Coverage Δ
main.go 0% <0%> (ø)
controller/trackerquery.go 61.83% <50%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ac1460f...2bac8d5. Read the comment docs.

DhritiShikhar commented 5 years ago

Thanks @baijum I will use the new Auth API and ask for review again.

DhritiShikhar commented 5 years ago

@alexeykazakov @sbose78 @baijum I have used the new Auth API - b9c260e

DhritiShikhar commented 5 years ago

[test]