Questions tagged [policies]
200 questions
1
vote
0 answers
hooked policies returns an empty array, sails
im tryng to make works two hooked policies, but doesnt. Each of these works, and both return next(), but then, when it supposed pass to a controller, return it an empty array instead of the list of devices
Here's my…

robertoandres24
- 109
- 2
- 7
1
vote
0 answers
Google Play Policies: are loot tables allowed when there is in-app random purchasable content?
Good morning everybody,
I did a small research about it but I couldn't find anything really useful.
Let's suppose there is an Android game where each player can collect monsters. Collection occurs through a RNG (which is server-side), in this…

RM00
- 11
- 1
1
vote
1 answer
Unable to call policy/behaviour in alfresco 5
Previously I was using alfresco 4.1.3 in which I have done too many customization Like. policy,custom action etc.
Now I have migrated my code to alfresco 5.01 and deployed it successfully. almost functionality are working fine but I am not able to…

Ranjitsinh
- 1,323
- 1
- 11
- 28
1
vote
1 answer
(C) which heap policies are most often used?
I have heard that 'better-fit' is pretty commonly used, but I don't seem to read much about it online. What are the most commonly used / thought to be the most efficient policies used by heap allocators.
(I admit my vocabulary may be flawed; when I…

Tony Stark
- 24,588
- 41
- 96
- 113
1
vote
2 answers
Sails.js policy not working for a single controller
I have 4 Policies in sails.js, SuperUser, Admin, User and SuOrAdmin and 3 models with the blueprint controllers, this is the policies config:
'*': 'SuperUser',
User:{
'*': 'SuOrAdmin',
findOne: 'User'
},
Empresa:{
'*':…

Daniel Rdz
- 45
- 5
1
vote
1 answer
Alexandrescu singleton with policies
I was looking into Alexandrescu's singleton created with policies, which is an interesting design. (http://loki-lib.sourceforge.net/html/a00670.html)
However, he first explains that you should guarantee a Singleton's uniqueness, which I agree with.…

Giel
- 397
- 1
- 9
1
vote
2 answers
Defining policies inside controllers in sails.js
Sails.js (0.9v) controllers has a
*_config function* to override configs from config file.
is there any _policies function to define the policies inside the controllers itself?
Thanks

Arif
- 315
- 2
- 10
1
vote
1 answer
Why my custom policy is not recognised in Sails JS
Following this screencast, I've created a policy in api/policies/flash.js. I then tried to use this policy in config/policies where at the beginning of the file I've used '*':flash so all my controllers would use this policy, however every time I…

WagnerMatosUK
- 4,309
- 7
- 56
- 95
1
vote
2 answers
Can I create new S3 users and add IAM policies from the Linux command line?
Is there any good way of creating and managing S3 policies and users from the command line of my Raspberry Pi?

Paolo
- 2,161
- 5
- 25
- 32
1
vote
2 answers
Embedded Jetty with Java Security Policies
I am using embedded jetty. My application loads an external war. I want to restrict what the loaded web application can do so I applied a Java security policy. Now my application starts but when I try to start the deployed web application it…

ronly2008
- 41
- 1
- 7
1
vote
1 answer
How to modify access policies in cloudsearch via boto
How can I change the access policies of a cloudsearch domain via boto? Is it possible at all?
Using boto 2.6.0 I see a get_access_policies() method in the domain instance, but nothing for modifying the policies.

Alfe
- 56,346
- 20
- 107
- 159
1
vote
2 answers
Can EWS calls be done parallel without slowing down?
I want to retrieve information from an Excachange Server (2010 via EWS API). In detail I want build a windows service to iterate over all excachange users and index their private mailboxes using impersonalisation.
That works well but its very slow…

MartinHappyCoding
- 311
- 1
- 3
- 13
1
vote
3 answers
What are the differences between security policy and security mechanism with operating systems
What is the difference between the two as I am not sure.
This is in reference with operating systems.

Banned
- 201
- 6
- 17
0
votes
0 answers
Trouble accessing certain policies on my android management API
I am having trouble accessing certain policies on my Android management API since they appear to be unavailable or inaccessible. Although I've looked through the official literature and settings, I haven't been successful in solving the problem.
I'm…

KIRAN P
- 1
0
votes
0 answers
Configure Azure Active Directory Authorization Policies for Logic App from PowerShell Script
I am trying to create a PowerShell script which has to create the Authorization policies for Logic App. Do we have a PowerShell script command to configure policies?
Able to Add policies from the Azure Portal, but want the same functionality from…