Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.7 beta 2
    • Component/s: None
    • Labels:
      None

      Description

      Level based permissions are very limiting, and are likely to become restrictive. The original reasoning behind using levels seems to be that Thrift didn't allow an easy way to specify bitset permissions, but a Set<Enums> works equally well.

        Issue Links

          Activity

          Hide
          stuhood Stu Hood added a comment -

          Applies on top of CASSANDRA-1237, and converts AccessLevel to Set<Permission>.

          We'd like to get this change into 0.7-beta, since it changes the disk format for KSMetaData.

          Show
          stuhood Stu Hood added a comment - Applies on top of CASSANDRA-1237 , and converts AccessLevel to Set<Permission>. We'd like to get this change into 0.7-beta, since it changes the disk format for KSMetaData.
          Hide
          stuhood Stu Hood added a comment -

          Rebased for changes in 1237

          Show
          stuhood Stu Hood added a comment - Rebased for changes in 1237
          Hide
          stuhood Stu Hood added a comment - - edited

          Converts AccessLevel to EnumSet<Permission> (with semantics from CASSANDRA-1271), but does not add or remove any authorize() calls. 1271 will add the new resources, and probably add a few authorize calls.

          Show
          stuhood Stu Hood added a comment - - edited Converts AccessLevel to EnumSet<Permission> (with semantics from CASSANDRA-1271 ), but does not add or remove any authorize() calls. 1271 will add the new resources, and probably add a few authorize calls.
          Hide
          urandom Eric Evans added a comment -

          committed; thanks.

          Show
          urandom Eric Evans added a comment - committed; thanks.
          Hide
          hudson Hudson added a comment -

          Integrated in Cassandra #533 (See https://hudson.apache.org/hudson/job/Cassandra/533/)

          Show
          hudson Hudson added a comment - Integrated in Cassandra #533 (See https://hudson.apache.org/hudson/job/Cassandra/533/ )

            People

            • Assignee:
              stuhood Stu Hood
              Reporter:
              stuhood Stu Hood
              Reviewer:
              Eric Evans
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development