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

WordPress block access to admin page said user have exactly needed capability

I have created 'news' custom post-type with CPTUI. And add 'news_manager' user role with these capabilities edit_post edit_posts publish_posts edit_others_posts edit_published_posts Then basically blocking access to some page with remove_menu_page…
0
votes
0 answers

Unable to create Files on enforced device

I have a system service that is creating a folder and some files under /data/vendor/ Since I have a rooted Android device in Enforcing state, the sepolicy is not permitting me to do this so I am using the dac_override capability in an allow rule -…
0
votes
1 answer

scale capability of volttron

I am trying volttron for a project solution and want to know the capability of volttron in a long term. The project is to control/monitor ~100k devices, and possibly millions if things run well. What is the biggest scale of volttron usage in a real…
nyoto arif
  • 135
  • 2
  • 10
0
votes
1 answer

Capabilitiy Declarations in Desktop Bridge UWP Apps

We have a legacy desktop application that is built upon MFC way back and been used till date. Using Desktop Bridge App Convertor I was now able to create appx for my legacy desktop app and I was able to install it and most of my functionalities are…
SiD
  • 109
  • 1
  • 8
0
votes
2 answers

add_menu_page item show to Editor Role Wordpress

I've been trying to add a menu to my WP Dashboard which I already accomplished. But now I want to show this menu to the Editor role as well as the administrator. Here is my code add_action( 'admin_menu', 'register_my_custom_menu_page' ); function…
Alejo_Blue
  • 603
  • 3
  • 12
  • 25
0
votes
3 answers

VSTS buildagent: Java 9

I installed the latest java sdk (included jre) version 9.0.1 on my buildserver and restarted the agents. The agent does not seem to detect Java, the java-capabilities are missing and builds won't run because the java-capability is not set on the…
D.J.
  • 3,644
  • 2
  • 15
  • 22
0
votes
1 answer

Appointment.Invitees is always empty in UWP AppointmentManager

An appointment that has participants, always return an empty collection when queried for using the appointment.Invitees property. Here is what I am trying to do, var calendarStore = await…
sudarsanyes
  • 3,156
  • 8
  • 42
  • 52
0
votes
1 answer

Selenium WebDriver (Ruby): flag to start Chrome maximized is lost from desired_capabilities

When I set my desired_capabilities for Chrome as such caps = { "chromeOptions" => { "prefs" => { :plugins => { :plugins_disabled => ["Chrome PDF Viewer"] }, :download => { :prompt_for_download => false, …
0
votes
1 answer

Adding access control to Protobuf

I have been thinking of adding some sort of capability-based access control to grpc services. My idea was to have a required capability for each rpc defined in the proto file, and use grpc interceptors to check that the capability provided by the…
0
votes
1 answer

Giving a non-root user process capabilities to change its niceness

I have a Linux based process (written in C++, if it makes any difference), that I run from a user which is not root. In some point I have to run a new sub-process that should be able to change it's niceness level to a lower number (without changing…
Bar Harel
  • 35
  • 5
0
votes
1 answer

delete_others_posts capability as false not working

I am trying to define new user role based on custom post type capabilities. Apart from other capabilities I want this role just to delete its own posts and not other users posts. To accomplish this I defined…
danish
  • 383
  • 1
  • 2
  • 15
0
votes
0 answers

How can my server's response quiker by perfect my code and algorithm? I want to get some suggestions

I feel my app runs slow. I use Java for my server, so except java itself,the first reason of slow run, I think, is the account of database access. Hibernate could search all attribute associate with the entity which you are using, so I think it may…
0
votes
1 answer

Cordova manifest capability for windows platform

We are developing an Window Store App with Cordova and trying to authenticate user against Windows Serve AD. There is a capability "Enterprise Authentication" need to be set on package.windows.appxmanifest. We can do it direct from VS2015 RC,…
Bogice
  • 1
  • 1
  • 3
0
votes
0 answers

Allow custom role to see specific section in wordpress

I am trying to allow the custom role bbp_moderator to view the Users Section from wordpress backend, but for some reason is not working. i can see the roles via the $wp_roles global variable and the capability edit_users had been added the the…
Adrian
  • 2,273
  • 4
  • 38
  • 78
0
votes
1 answer

Meta construction capabilities?

I am currently considering Orange as the base for a meta-learning assistant prototype I intend to develop, but before committing myself to a thorough exploration of the documentation and learning about python development (which would both be quite…