Unify organizer navigation and add personal widget dashboard
This commit is contained in:
1 parent
a9249009f0
commit
6ba30bc9f4
44 files changed
+843
-54
No files matched your search
@@ -100,6 +100,9 @@ var mutationPrefixPolicies = []struct {
|
||||
}
|
||||
|
||||
func policyForRequest(r *http.Request) endpointPolicy {
|
||||
if personalOrganizerSettings(r) {
|
||||
return endpointPolicy{Name: "organizer.settings", Capability: "read", Target: targetDomain, Resolver: resolveHandler}
|
||||
}
|
||||
if taskRoute(r.URL.Path) {
|
||||
return endpointPolicy{Name: "tasks.handler", Capability: "read", Target: targetDomain, Resolver: resolveHandler}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user