question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I was wondering if it was possible to create hidden rules. I came across this old issue: #156 . That doesn’t seem to be very helpful though. Can you give me an example of modifying the rules after using setRulesFromSQL ? Here’s my use case:

The app I am creating is a custom reporting app. We will be able to connect to any database and query and columns from any table or view. It’s taken a lot of work, but it’s mostly working very well so far. Now the thing is we want to let our clients see the reports as well… We want to setup the default filters beforehand and then they can modify them when running the report. So we can edit, but they cant… and what we want is to be able to set some filter like:

WHERE ClientId = 123

And we don’t want this to show up for clients when they are running it… for obvious security reasons. Therefore, it is important to be able to have hidden filters. Please tell me how I can do this.

Thanks in advance.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
gordon-mattcommented, Oct 23, 2019

@mistic100 Hi there. A colleague of mine has implemented this feature. You can find his fork, here: https://github.com/VoTranQuan/jQuery-QueryBuilder/tree/dev. I’ve asked him to create a pull request… but you may wish to just copy the important parts instead of everything. Please take a look. You can see an example of how it works on the README.

0reactions
mistic100commented, Mar 16, 2020

@gordon-matt not in time frame that will suit you. You can submit the PR but I won’t look at it before a while

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hidden Rules Teaching Resources - TPT
This provides 20 examples across the home, school, and community environments of hidden social rules. It gives a scenario and a choice ...
Read more >
Childswork / Childsplay Hidden Rules: A Game That Teaches ...
Hidden Rules is a term used to describe the unwritten social rules and behaviors that most of us seem to know without ever...
Read more >
HIDDEN RULES AMONG CLASSES / FROM RUBY PAYNE'S ...
HIDDEN RULES AMONG CLASSES / FROM RUBY PAYNE'S "UNDERSTANDING POVERTY". POVERTY. MIDDLE CLASS. WEALTH. POSSESSIONS. People. Things. One-of-a-kind objects, ...
Read more >
Hidden Rules Among Classes | UPDATED 2021 - AgilityPortal
Hidden Rules Among Classes Many of the attitudes that those in poverty bring with them are an integral part of their culture and...
Read more >
Social Thinking: Hidden Rules at Home, School ... - YouTube
Carly Shless shares some ideas on how you can incorporate Hidden Rules at home, school and via teletherapy with a virtual background.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found