Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1350)

Unified Diff: state/apiserver/root.go

Issue 54230044: state: deprecate JobManageState
Patch Set: state: deprecate JobManageState Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « state/apiserver/provisioner/provisioner_test.go ('k') | state/apiserver/root_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: state/apiserver/root.go
=== modified file 'state/apiserver/root.go'
--- state/apiserver/root.go 2014-01-22 11:21:21 +0000
+++ state/apiserver/root.go 2014-01-23 08:58:16 +0000
@@ -322,12 +322,6 @@
return isMachineWithJob(r.entity, state.JobManageEnviron)
}
-// AuthStateManager returns whether the authenticated user is a
-// machine with running the ManageState job.
-func (r *srvRoot) AuthStateManager() bool {
- return isMachineWithJob(r.entity, state.JobManageState)
-}
-
// AuthClient returns whether the authenticated entity is a client
// user.
func (r *srvRoot) AuthClient() bool {
« no previous file with comments | « state/apiserver/provisioner/provisioner_test.go ('k') | state/apiserver/root_test.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b