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
3
votes
2 answers

Wordpress - Access to single plugin

I need to allow editor (role) to use "WP All Export" plugin. I`m trying to solve my problem using this code: add_options_page('WP All Export Pro', 'All Export', 'edit_posts', 'pmxe-admin-manage', 'wp-all-export-pro_options'); But its not working…
Vlad Rovner
  • 194
  • 4
  • 11
3
votes
1 answer

Adding privateNetworkClientServer capability to Windows 8 Cordova Application

How / where do I add the privateNetworkClientServer capability to my Cordova application so that it ends up in the compiled Windows 8 app manifest file. If i build, modify the built application manifest to ass the capability manually it is lost the…
Nick
  • 1,015
  • 12
  • 31
3
votes
3 answers

Limit a User to Only Create One Custom Post Type Post

I have a custom post type for service providers. Which is essentially a bio page for them. I have it set that they can only edit their own bio page, however to do this I had to grant them the ability to create their own bio page (Add New). Is there…
TripsLeft
  • 539
  • 8
  • 24
3
votes
1 answer

CakePHP: managing user capabilities in wordpress way

I Googled for this for over 3 hours but didn't find anything helpful. Is there any CakePHP plugin that allows managing user roles and capabilities without building ACL, the wordpress way? Why built-in CakePHP ACL does not meet my needs: it's kind…
3
votes
1 answer

more capabilities in App Hub than in WMAppManifest.xml

I have developed an app using Silverlight XNA, with AdDuplex (for Silverlight 1.2.3) and Scoreloop (Core Social 1.2.0). I have defined capabilities of my app in WMAppManifest.xml as
Dante May Code
  • 11,177
  • 9
  • 49
  • 81
2
votes
3 answers

Accessing iframe elements across different domains

I understand that cross site scripting (xss) is not good and is not supported in most browsers. However, I am building a page to be used only by about 3 or 4 people within my company. On this page I have a frame from another domain and I need the…
monkeysword
2
votes
1 answer

How to implement db capability approach with pure functions in F#?

I have a code sample like this: type Db = | Db of Map let get id db = let (Db dict) = db dict |> Map.tryFind id |> (fun x -> x, db) let add id value db = let (Db dict) = db dict |> Map.add id…
XaLVa
  • 27
  • 3
2
votes
0 answers

Building with QtCreator and giving capability to Pcap

I am building a sniffer with Qt as GUI, pcap as capture library and QtCreator as GUI under Ubuntu 10.04. Problem is: Before I can capture packets, since my app is not meant to be run as root, I need to sudo setcap cap_net_raw,cap_net_admin=eip…
m6a-uds
  • 935
  • 2
  • 8
  • 12
2
votes
2 answers

How can I get Unity to automatically add the Sign In With Apple capability when compiling for iOS?

I have been Googling for hours and trying every variation of this code that I can think of but I haven't been able to get the Sign In With Apple capability to be added automatically. I have tried examples from this Github…
2
votes
1 answer

Accessing control chart results in R?

I have a short R script that loads a bunch of data and plots it in an XBar chart. Using the following code, I can plot the data and view the various statistical information. library(qcc) tir<-read.table("data.dat",…
2
votes
2 answers

java:how to define capabilities of a subclass instance that can be derived from the superclass

To make my question more concrete, let me pose it as a problem: situation description: We have 3 abstract concepts: Boss: which has a number of employees Worker: that can execute some types of tasks Task: contains the semantics needed for a…
codelidoo
  • 219
  • 1
  • 11
2
votes
1 answer

How to describe a device capability with an RDF graph using JSON-LD serialization?

I need to describe the capability of devices and how to invoke the capabilities functions semantically. In order to achieve that I created a super simple RDF Graph and used @rdfjs/serializer-jsonld library to serialize the graph to JSON-LD file with…
2
votes
1 answer

automate adding capabilities to Azure DevOps self-hosted agents

As far as I know, Azure DevOps agents are capable of automatically detecting its own capabilities. Based on the documentation, so as long as I restart the host once a new piece of software has been installed, the capability should be registered…
Alex Wang
  • 358
  • 3
  • 21
2
votes
0 answers

Adding capabilities to the windows platform in a cordova project

I want to add these 3 capabilities to my windows application. internetClientServer privateNetworkClientServer internetClient Initially I tried to add the capabilities from here, But every time I build the windows project. These capabilities…
2
votes
0 answers

How to get permission to rename a StorageFile on the Desktop

I want my code to rename files on my Desktop, but I do not have permission to edit files on my Desktop. How do I get the necessary permission? My code: public async Task RenameFile(fileLocation, newName) { try { StorageFile bkpFile =…
TS-
  • 317
  • 3
  • 15
1
2
3
9 10