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
0
votes
1 answer

WP 8.1 Capability

When I'm running my WP 8.1 app I got a message "id_cap_isv_camera capability is required". I've added this capability to WMAppManifest.xml:
adam60
  • 11
  • 3
0
votes
0 answers

Today Edge animation is all scrambled in Chrome

I had build a small html site that contained Adobe Edge animations about a year ago. Today I noticed that Chrome doesn't show it the way it did before. Object are out of place and some objects are missing. Anyone out there worked with Edge…
Mia Gilin
  • 109
  • 1
  • 12
0
votes
1 answer

adding custom role filter to wordpress woocommerce shop_manager

Hello all i was wondering if someone could help me out. I would like to add a cap to the woocommerce shop manager role. I found this function but it will not work. function add_capability() { // gets the author role $role = get_role(…
har
  • 43
  • 10
0
votes
1 answer

Clone role capabilities for a post type

I registered a custom post type ("playlist") in my plugin. I've read a lot about roles and capabilities but this is quite difficult to understand completely... The thing I would like to achieve is to CLONE capabilities for a post type, by roles : In…
gordie
  • 1,637
  • 3
  • 21
  • 41
0
votes
2 answers

Saving inputted history in a command line program (under capability mode)

The following code works exactly as expected if the cap_enter line is removed. However I'd like to make sure my program runs in capability mode. I've distilled this program down from a 4000+ line bigger program into a minimal example. When I use…
Good Person
  • 1,437
  • 2
  • 23
  • 42
0
votes
0 answers

How to make custom plugin accessible for subscribers?

I have created a plugin into my local WordPress site. When I login into Admin section as an Admin/Editor/Author, I am able to access the plugin. But, when I login as a subscriber I cannot access it. My Question: How can I make my custom plugin…
Zameer Khan
  • 1,154
  • 1
  • 18
  • 20
0
votes
1 answer

Do I have to include a privacy policy even if the only network thing that my app does is purchase from the Windows Store itself?

The rule 4.1 of the Windows Store says: 4.1 Your app must comply with the following privacy-related requirements: 4.1.1 Your app must have a privacy statement if it is network-capable If your app has the technical ability to transmit data, you…
o0'.
  • 11,739
  • 19
  • 60
  • 87
0
votes
1 answer

all capabilities in dropdown list

I'm trying to put all possible capabilities into a dropdown list. I'm new to this so go easy on me. What I have at the moment is not working in the slightest bit: $user = get_user_by('id', '1'); $capslist = $user->allcaps; $dropdown =…
Works for a Living
  • 1,262
  • 2
  • 19
  • 44
0
votes
1 answer

add new gstreamer capability

I want to add a new capability to existing capability list in gstreamer. Can anybody help me to understand following questions. What is a data class in gstreamer? How can I add a new capability by reusing the existing data class? Thanks in…
Raju
  • 403
  • 1
  • 6
  • 19
0
votes
1 answer

About UIRequiredDeviceCapabilities?

If app add two items into UIRequiredDeviceCapabilities array in the info.plist file, one is armv7(the default),another is bluetooth-le.That's explain app only available on devices with BLE4.0 ? And whether other devices without BLE4.0 can download…
Roby
  • 179
  • 2
  • 14
0
votes
1 answer

make pages with capabilities given to users based on DB

I'm new to asp.net and trying to figure out how to go about displaying different capabilities to individual users based on what is allowed to them by checking the database. A good example I think would be like a forum where the admin an turn on and…
0
votes
4 answers

What can WPF do and not do?

i've been learning wpf for about a week now.. and i have a basic question: From a business view and development view (out of your experience).. what can and what cant be done with wpf(capabilities) .. please try to be illustrative.. examples of…
Madi D.
  • 1,980
  • 5
  • 23
  • 44
0
votes
2 answers

Restrict users from editing post based on the age of the post

In Wordpress, how can I restrict users (based on Capabilities) from editing their published posts after a custom amount of time. For instance, a user that can publish_posts (authors) can not edit a their post if it is older than 3 days, and a user…
Gary Woods
  • 1,011
  • 1
  • 15
  • 33
0
votes
1 answer

Assign capability to access custom plugins only in wordpress

I have developed a custom plugin "career" in wordpress . It is for view job application . Jobs are actually posts. I am using user role editor plugin to create role and capabilities . there i have created a capability 'career' and a role…
0
votes
1 answer

How to enable/disable metro app setting capabilities?

How can I enable/disable programmatically capabilities in a metro app, i.e. capabilities settings defined in the package app manifest such as internet, microphone, location, etc.?
1 2 3
9
10