Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Conversation

@gdbelvin
Copy link
Contributor

@gdbelvin gdbelvin commented May 3, 2018

This aligns the authorization checks with the domainID/appID resource hierarchy.

@gdbelvin gdbelvin requested review from cesarghali and phad May 3, 2018 15:51
@codecov-io
Copy link

codecov-io commented May 4, 2018

Codecov Report

Merging #970 into master will decrease coverage by 0.04%.
The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #970      +/-   ##
==========================================
- Coverage   46.92%   46.87%   -0.05%     
==========================================
  Files          28       28              
  Lines        2018     2018              
==========================================
- Hits          947      946       -1     
- Misses        892      893       +1     
  Partials      179      179
Impacted Files Coverage Δ
core/keyserver/keyserver.go 33.16% <0%> (ø) ⬆️
impl/authorization/authorization.go 92.3% <100%> (ø) ⬆️
core/client/client.go 14.77% <0%> (-0.57%) ⬇️

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 26b3b89...e3b38f3. Read the comment docs.

Copy link
Contributor

@phad phad left a comment

Choose a reason for hiding this comment

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

Minor documentation nit but good to go otherwise.

message Resource {
// map_id contains the Key Transparency map identity for this entry.
int64 map_id = 1;
string domain_id = 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

Comment above is now out of date.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@gdbelvin
Copy link
Contributor Author

gdbelvin commented May 4, 2018

Done. PTAL

@phad
Copy link
Contributor

phad commented May 4, 2018 via email

@gdbelvin gdbelvin merged commit 9701801 into google:master May 4, 2018
@gdbelvin gdbelvin deleted the auth/domainid branch May 4, 2018 16:17
gdbelvin added a commit to gdbelvin/keytransparency that referenced this pull request May 8, 2018
…y into test/listhistory

* 'test/listhistory' of github.com:gdbelvin/keytransparency:
  Use DomainID rather than mapID during authorization (google#970)
  Strengthen CreateDomain (google#969)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants