Files
odc-analyzer/app/controllers/api/AuthenticatedApiApplication.scala
Šesták Vít e4b382024d Added API for listing of scans
Added API support
2017-01-31 09:32:42 +01:00

6 lines
170 B
Scala

package controllers.api
class AuthenticatedApiApplication(resources: Set[ApiResource]) {
def isAllowed(resource: ApiResource): Boolean = resources contains resource
}