Giter Club home page Giter Club logo

Comments (5)

dmuhamedagic avatar dmuhamedagic commented on August 15, 2024

from crmsh.

krig avatar krig commented on August 15, 2024

No, I mean not to translate anything to the object-type or attribute attributes on acl_permission, and instead translate directly to xpath.

from crmsh.

dmuhamedagic avatar dmuhamedagic commented on August 15, 2024

On Wed, May 06, 2015 at 10:19:11AM -0700, Kristoffer Grönlund wrote:

No, I mean not to translate anything to the object-type or attribute attributes on acl_permission, and instead translate directly to xpath.

I guess then that this is about the new ACL stuff? Don't know
anything about what the changes comprise.

Are acl_shortcuts obsolete in v1.1.12?

I'd just like to stress again that it is in general easier for
users (i.e. people who may not be as technically savvy as some of
us are) to comprehend concepts (or objects, if you will) as names
rather then the same concept spelled out as xpath. The latter
typically involve various CIB attributes/elements which also may
not be easy to follow. After all, one of the major roles of crmsh
is to help hide the arcana :)

from crmsh.

krig avatar krig commented on August 15, 2024

I guess then that this is about the new ACL stuff? Don't know
anything about what the changes comprise.
Are acl_shortcuts obsolete in v1.1.12?

Yes, the only tag that is valid in 1.1.12 is acl_permission.

I'd just like to stress again that it is in general easier for
users (i.e. people who may not be as technically savvy as some of
us are) to comprehend concepts (or objects, if you will) as names
rather then the same concept spelled out as xpath. The latter
typically involve various CIB attributes/elements which also may
not be easy to follow. After all, one of the major roles of crmsh
is to help hide the arcana :)

Right, so that's why we provide a more friendly interface on top of the XML to begin with. But that also means that it shouldn't really matter what the XML we generate looks like, we'll just keep providing an understandable interface to it.

I guess one thing we could do is generate a description for the ACL rule that expresses what it means in a more human-friendly way?

On the flip-side, I have to say that for me it is easier to understand an xpath string than to figure out what a particular combination of object-type and attribute settings mean. :)

from crmsh.

dmuhamedagic avatar dmuhamedagic commented on August 15, 2024

On Thu, May 07, 2015 at 02:36:16AM -0700, Kristoffer Grönlund wrote:

Right, so that's why we provide a more friendly interface on top of the XML to begin with. But that also means that it shouldn't really matter what the XML we generate looks like, we'll just keep providing an understandable interface to it.

It does matter when we cannot show the original input. I'm not
sure what's the situation re acls in that respect.

I guess one thing we could do is generate a description for the ACL rule that expresses what it means in a more human-friendly way?

That'd be great.

On the flip-side, I have to say that for me it is easier to understand an xpath string than to figure out what a particular combination of object-type and attribute settings mean. :)

Well, I assume that you're a bit of an out of ordinary user in
that respect :) However, I cannot really say anything without
seeing some examples first.

from crmsh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.