Questions tagged [capability]

Capability is the ability to perform actions. In computer science the term is often used in capability-based security, a granular way to restrict processes' rights.

A good reference is the wikipedia page for capability based security.

An example of such mechanism are Linux capabilities, these have a separate tag:

142 questions
1
vote
0 answers

Fatal error: Call to a member function add_cap() on a non-object

I'am developing WordPress theme and I can't figured it out why I can't add new custom capabilities for existing custom role without using any plugins for user //Function for creating new custom capability function map_custom_cap($roles =…
noviceRick
  • 121
  • 1
  • 5
  • 14
1
vote
1 answer

Is this correct way to set up .plist for required device capability?

Will the following .plist entry PREVENT devices without a video camera from purchasing an app? Thank you.
Dev1345
  • 61
  • 1
  • 11
0
votes
1 answer

Splunk - Searching capabilities how powerful is it?

I am new to splunk. Just 3 odd days at it. I have been using Lucene for indexing and searching raw data in forms of fielded and un-fielded data. I am very much impressed with lucenes performance for searching. I was wondering if the experience…
user349026
0
votes
0 answers

Subscribers can't read custom post type without "Restrict content" cap - Wordpress

I'm using "members" plugin to add custom roles, and I don't know what I've done but now, to access my custom post type "event", users need to have the custom cap "Restrict content". That's also mean that non subscribed users can't access my…
0
votes
0 answers

Adding Sign in with Apple to capabilities in Xcode

I have a paid Apple developer account which I get the "Sign in with Apple" option when I'm trying add it to the capabilities. But there's another Apple developer account which my client invited me with my email. I want to use that account to add…
Murad
  • 104
  • 1
  • 1
  • 10
0
votes
1 answer

Effects of dropping FSETID capability in Docker container

I'm exploring Docker container capabilities and permissions and I'm curious about the implications of dropping the FSETID capability. When I run a Docker container with the --cap-drop FSETID option, I know about the SUID and GUID that are related to…
0
votes
0 answers

Azure DevOps: Multiple capability values and priority of capabilities?

Two questions to Azure DevOps capabilities / demands. Is there a possibility to specify multiple values in a single user-defined capability? E.g. for a capability "version" the values 11 and 12 are allowed? And for the second: I have multiple…
mrt
  • 307
  • 1
  • 2
  • 13
0
votes
0 answers

I got an "Operation not permitted" when I add linux capability "CAP_AUDIT_WRITE"

I have one executable file. It should have some capabilities to be run. And I found a proper set of capabilities. I experience some weird thing. When I add linux capability "CAP_AUDIT_WRITE", I got an error "Operation not permitted" in running the…
JayJay-K
  • 1
  • 2
0
votes
1 answer

How to use driver initialize code from a separate class and use it in different class of same package and different package

Stuck with making a separate class for the driver (capabilities, allowing notification, an opening web browser) within one separate class and using it is a different class of the same package and a different package Need to fetch it on different…
0
votes
2 answers

Webdriver io cucumber test fails to run with invalid argument error

I am new to webdriver io. I ran my cucumber test and it fails with this error `[0-0] 2023-02-14T21:47:36.064Z WARN webdriver: Request failed with status 400 due to invalid argument: unrecognized capability: pollTimeout [0-0] 2023-02-14T21:47:36.065Z…
0
votes
0 answers

Capabilities in a shared lib does not work as expected

A maybe stupid question: For an embedded project I want to switch the single processes (currently running as root) to capabilities. Since the project also includes several shared libraries, my approach is to switch parts in the libraries to use…
madam
  • 11
  • 3
0
votes
0 answers

Importance of normality for process capability when far from spec - outliers

I have a dataset (n=15) from product testing that has an outlier (force = 2.7lb) that makes it so the data fails normality testing (p=0.012), which (as I understand it) prevents the use of capability analysis. The average and standard deviation from…
KoldBeans
  • 31
  • 1
  • 2
0
votes
2 answers

Wordpress role capabilities issue

I need some help with capabilities for a CPT. I register a new CPT with a capability type 'agenda'. To do this I use the code below in the register array 'capability_type' => 'agenda' After that I added two new roles add_role('owner', 'Eigenaar',…
Jop
  • 175
  • 1
  • 8
0
votes
0 answers

KDB: Connecting to a password protected KDB instance with capability

Could you, please, let me know if it is possible to connect to a password protected KDB instance with capability? I seem to be able to either connect with capability to a KDB instance without password protection or to connect without capability to a…
S.V
  • 2,149
  • 2
  • 18
  • 41
0
votes
1 answer

Allow Woocommerce shop manager to assign a role when creating a user

The custom role shop manager created by Woocommerce can only assign the customer role when adding a user. I'm trying to let shop manager choose from the different roles by enabling the capability promote_users. function shop_manager_add_users() { …
koji
  • 1
  • 3