marathon-example-plugins icon indicating copy to clipboard operation
marathon-example-plugins copied to clipboard

getting blank marathon ui, how to get authorization working?

Open f1-outsourcing opened this issue 5 years ago • 0 comments

I am starting marathon with /etc/default/marathon and MESOSPHERE_HTTP_CREDENTIALS=bla:testpassword

this is my marathon plugin.conf

{
  "plugins": {
    "capabilities": {
      "plugin": "mesosphere.marathon.plugin.task.RunSpecTaskProcessor",
      "implementation": "com.criteo.marathon.CapabilitiesPlugin"
    },
    "authorization": {
      "plugin": "mesosphere.marathon.plugin.auth.Authorizer",
      "implementation": "mesosphere.marathon.example.plugin.javaauth.JavaAuthorizer",
      "configuration": {
        "users": [
          {
            "user": "bla",
            "permissions": [
              { "allowed": "create", "on": "/" },
              { "allowed": "update", "on": "/" },
              { "allowed": "delete", "on": "/" },
              { "allowed": "view", "on": "/" }
            ]
          }
        ]
      }
    }
  }
}

f1-outsourcing avatar Oct 16 '19 09:10 f1-outsourcing