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

Visual Studio 2010 with Managed Extensiblity Framework

I've been looking into into MEF (Managed Extensibility Framework), but I am not entirely sure if it is something that I need and can help me accommplish what I need to do. Can someone provide an easy to understand description of MEF, provides good…
NewProgrammer
  • 121
  • 1
  • 4
1
vote
1 answer

Windows Phone Capabilities with Cordova

I have problems with the capabilities of the windows phone according to UDP Socket Access. I know that i have to set up the capabilities "internetClientServer" and "privateNetworkClientServer" (see:…
1
vote
1 answer

Custom Post Type capabilities

I would really appreciate some help here. I have created custom post types and mapped capabilities. The custom post types show up in the admin panel, but I can't add a new post. When I remove capabilities=> $capabilities and change it to…
Ollie
  • 21
  • 1
  • 7
1
vote
1 answer

Wordpress hide pages in dashboard

I want to know if there's a way to hide pages that do not belong to the logged in user in the dashboard? I've been looking at capabilities, but as far as I can see I can only restrict interaction with pages not owned by the logged in user. Thanks
Vinc
  • 695
  • 2
  • 10
  • 26
1
vote
1 answer

How can I allow the subscriber role to edit and delete their own custom post type

I have a custom post type, and i want a subscriber roll to be able to edit and delete their own posts. i have the next code: function agents_create_post_type() { $labels = array( 'name' => __( 'Agents', 'ee' ), 'singular_name' …
user2957058
  • 270
  • 5
  • 16
1
vote
1 answer

which radio type i'm using

How can I ,from the network information like frequency ,network speed ,security type "capabilities" and signal level in dBm to determin which standard i'm using. Well i can get easely two categories from the frequency 2.4Ghz and 5Ghz ,but still not…
Amina
  • 723
  • 8
  • 20
1
vote
2 answers

Access Denied (System.ComponentModel.Win32Exception) While Calling WCF Service

Hosting the WCF services via a host exe on Windows 8.1 I am getting an AppContainer related error. I cannot find any good documentation on the methods on the top of the stack trace. Kind of grasping at straws…
Montane
  • 93
  • 1
  • 7
1
vote
2 answers

DirectX9 and Incompatible Texture size

I'm working with DirectX9 and now I'm having problems with the texture creation. I'm using the functions CreateTexture and LoadSurfaceFromMemory with D3DFMT_DXT1 compression, I checked the devices caps of my graphic card and D3DPTEXTURECAPS_POW2 and…
1
vote
2 answers

Glonass satellites are supported or not?

How can be detect if an Android based mobile device is supporting glonass capability or not?
L. Kvri
  • 1,456
  • 4
  • 23
  • 41
1
vote
1 answer

Query Touch Capabilities for Winrt App

Possible Duplicate: Detect whether a Windows 8 Store App has a touch screen For WinRT apps, is there a way to query if the device running the App supports touch or not? I ask because I have on screen controls for a game that aren't needed if you…
Nick Banks
  • 4,298
  • 5
  • 39
  • 65
1
vote
2 answers

Is it necessary to declare the 'internet client' capability if the only network usage is for the windows store?

If a windows store app does not access the network, except to query the windows store to see if a feature has been purchased, is it necessary to declare the 'internet client' capability? I'd like to avoid declaring capabilities I don't need. Also,…
Craig Gidney
  • 17,763
  • 5
  • 68
  • 136
1
vote
1 answer

Restrict access to Wordpress page based on role or capability

How can I restrict access to a specific Wordpress page based on the user's role or capability? I am aware that there are various plugins that can achieve this and I found some very aged solutions while googling. I believe it is about time to have an…
Gary Woods
  • 1,011
  • 1
  • 15
  • 33
1
vote
1 answer

Custom taxonomy - setting access based on role or capability

I am only just learning about custom taxonomies for Wordpress. How is it possible to restrict access for my users to use a taxonomy. For instance, I have created a taxonomy named featured and I only want Editors and above roles to be able to add…
Gary Woods
  • 1,011
  • 1
  • 15
  • 33
1
vote
1 answer

does the app engine capability_stub for unit testing allow disabling services?

When I was looking at the source code for capability_stub.py in app engine's testbed framework, I saw a comment stating that every service was always enabled. Now, is there a way to simmulate certain outages by disabling certain services, other than…
bigblind
  • 12,539
  • 14
  • 68
  • 123
1
vote
1 answer

Show specific media for particular wordpress role

I'm looking for ideas on how to go about only showing specific media to specific users. I have created a new role and capability for that role in which I would like to attach specific media files to. So that the people in the new role can only view…
Nick
  • 676
  • 9
  • 22