• Resolved onirgoc

    (@onirgoc)


    Hello

    creating capabilities is great but i have problems with 2 things:

    1) creating “Read Meta Tribe Events” create “Read Meta Tribe Events” which of course make some trouble trying to use it ! It should be something like : “read_meta_tribe_events” (no maj. and underscore)

    2) Created capabilites doesn’t seems to be editable and can’t be deleted.

    Thanks

    https://ww.wp.xz.cn/plugins/advanced-access-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi onirgoc,

    When you create a capability with AAM, it takes it as you entered it. So in your case you just type literally “read_meta_tribe_events“.

    What you see in the the list of capabilities is just a human readable list of capabilities. With AAM 3.0.5 you actually can see also the internal representation of each capability right next to the capability name.

    We made a decision to remove the ability to either edit or delete capabilities for the ONLY reason – inexperienced users most of the time tried to delete some of the capabilities and later put all blame on AAM (that is why you can find quite few negative reviews about it).

    We might be able to add this feature with some extra help of ConfigPress plugin.

    Follow us on twitter [Link redacted] to know the latest news.

    Appreciate your interest in AAM.
    Vasyl

    Hi onirgoc,

    FYI. We are working on the ability to edit/delete capabilities (check our [Link redacted]). Looks like you are not the only one who is looking to have this functionality by default.

    In our next AAM release 3.0.6 you’ll be able to activate an ability to do that with AAM Utilities extension (which is free).

    Appreciate your feedback!
    Vasyl

    Thread Starter onirgoc

    (@onirgoc)

    Maybe to avoid you trouble with non advanced users you should put a red text in a pop up or something like that when using “delete” ? 😉

    About the way to insert it maybe (also) you can “translate” bad spelling ( I mean for php use) like name with “R3 in place of “r” or replace space between words by underscore…but I can live with the fact to have to do it the right way directly… 😉

    Thanks for your help !

    Hi onirgoc,

    This is how it was long time ago. We were “normalizing” the capability name (as example by replacing white spaces with underscore). But the reality is a bit different.

    There are some plugins, that actually depend on capabilities like “Manage Something” so in this case if AAM will keep normalizing the capability, then it will be no possibility to create such a capability.

    Anyway, managing capabilities is considered as one of the most complex and complicated parts of WordPress functionality. So people like you know what to do.

    Best Regards,
    Vasyl

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘creating Capability’ is closed to new replies.