Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-4868

PersistentVolumeTests do not need to set up ACLs.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • 1

    Description

      The PersistentVolumeTest s have a custom helper for setting up ACLs in the master::Flags:

      ACLs acls;
          hashset<string> roles;
      
          foreach (const FrameworkInfo& framework, frameworks) {
            mesos::ACL::RegisterFramework* acl = acls.add_register_frameworks();
            acl->mutable_principals()->add_values(framework.principal());
            acl->mutable_roles()->add_values(framework.role());
      
            roles.insert(framework.role());
          }
      
          flags.acls = acls;
          flags.roles = strings::join(",", roles);
      

      This is no longer necessary with implicit roles.

      Attachments

        Activity

          People

            yongtang Yong Tang
            kaysoky Joseph Wu
            Adam B Adam B
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: