Questions tagged [restrictions]

A set of limiting conditions or measures to delimit the behavior of software.

232 questions
1
vote
1 answer

Minimum age in signed request

Is there any documentation for user.age.min in the signed request? I would like to know which values user.age.min can have. E.g. if I'm implementing age restriction due to alcohol content in Iceland, will I then know if the user is 20 years old or…
Martin Torhage
  • 613
  • 1
  • 5
  • 12
1
vote
2 answers

Hibernate Date Criteria fails but HQL works

Hibernate seems to incorrectly handle date ranges using the Criterion API in Oracle. The SQL Query itself seems correct (copied it from Hibernate and executed it manually). So, given Clazz clazz; Date start, end; this fails List bars =…
Johan Sjöberg
  • 47,929
  • 21
  • 130
  • 148
1
vote
1 answer

Restrictions for app tab pages?

is there a way to install the app to the page with restrictions to the visitors country or age? I am programming an app which will be only available for Users of distinct coutries. However, I am planning to install the app as a tab on a Facebook…
Flashbaer
  • 13
  • 4
1
vote
1 answer

Web Hosting Service throttling/dropping traffic?

I have had a justHost account now for a couple of years, the service is lame but i cant really argue with the price. I dont run any live sites there currently but i use it for development. I have recently been using it with magento community…
Alex Edwards
  • 1,613
  • 3
  • 24
  • 48
1
vote
2 answers

Javascript window.open(..) fails due to "restrictions in effect on this computer"

A javascript call to window.open(...) fails for a particular user (but not for Administrator users) The error message is This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator." The…
Simen S
  • 3,210
  • 18
  • 24
1
vote
1 answer

Hibernate - Restrictions (Calendar, HOUR)

Can I get items created at specified hour (e.g. 9am) from the table using by hibernate restrictions (i mean ids 130, 146, 147, 148)? Can you tell me how (createDate is in Calendar format in Java)?
gaffcz
  • 3,469
  • 14
  • 68
  • 108
1
vote
1 answer

HIbernate Criteria Restrictions.in

I am having an issue with Hibernate Criteria when using Restrictions.in.. If the list sent to the restriction doesn't have any values in it then it throws SQL GrammerException which is expected because query would look something like select * from…
1
vote
3 answers

How to restrict users to subsets of data in ASP.Net 2.0+

Imagine an ASP.Net 2.0+ app that uses the built-in role-based security to restrict users to certain pages or actions. Further suppose that rules exist that restrict individual users to subsets of data based on the user's attributes (however those…
Ann L.
  • 13,760
  • 5
  • 35
  • 66
1
vote
1 answer

Hibernate Criteria Restrictions.in combined with ilike

Is there a way to combine the Restrictions.in(String, Collection) with Restrictions.ilike(String, String) The goal would be to provide a list of possible matches (like in) but to compare them with the ilike operator instead of a hard…
Geniedesalpages
  • 418
  • 1
  • 3
  • 15
1
vote
1 answer

Is there a limit to the size of database I can use in an Android OS app?

I have wanted to build an Android app for a long time now, and I just haven't had time to try to learn how to make it so I have outsourced it to a reputable company in India. My app is a really simple db driven reader app. Initially, the development…
Brandon B.
  • 727
  • 2
  • 8
  • 9
1
vote
1 answer

Protege: property domain restrictions using other properties

I'm creating my first ontology with protege 5.2 and I'm running into some trouble. Let's say I have the following Classes: Gender with subclasses Female and Male Human with subclasses Patient and Doctor Disease with subclass Cancer with subclass…
Mir4culix
  • 81
  • 7
1
vote
3 answers

Ionic App blocked by iOS 'Specific Website Only' restriction

A user has an iOS device with restrictions set in the settings to only allow 'Specific Websites Only'. As a result, an Ionic app will show the splash screen, but not do anything after that. Presumably, the specific local URL of the app must be…
1
vote
0 answers

Github: Define that only Beta branch can be merged into master branch?

I want to set som restrictions or somehow define that only the beta branch, and poitentially any "hotfix" branch, can be merged into the master branch. Is this possible in GitHub? The reason is to avoid accidental pull requests from a feature or…
Troels
  • 151
  • 4
1
vote
4 answers

How can I restrict which functions are callable from an imported module? Can I make a function private? (Python)

For example, in file A.py I have functions: a (), b () and c (). I import A.py to B.py, but I want to restrict the functions a () and b (). so that from B.py I will be able to call only c (). How can I do that? Are there public, privates functions?
abhera
  • 85
  • 1
  • 2
  • 7
1
vote
2 answers

Allow only 1 app to connect to specific WiFi

At my company, we want to restrict Users (having Android Devices) to access only 1 application using Company Internet. For example, when I'm in the company and I'm connected to the WiFi, I should be able to access only my company's Application. Is…
Vaibhav Shah
  • 33
  • 1
  • 7