Comments (1)
That's indeed broken. I'd guess the best way here is to construct a query; let it filter by self.listFilter and check wherever at least one entry is returned. This will prevent you from calling /view/structure on an empty module, but you'll get the structure in /add if you have sufficient permissions.
from viur-core.
Related Issues (20)
- `super` call to a deferred task inside a deferred task is not running inline
- Assign a `db.Key` as value with `setBoneValue` to a `KeyBone` returns None
- Implement PassKey
- feat: Implement `minLength` parameter in `StringBone`
- `@property` in module causes problems during warmup
- `register` is no longer available for (exposed) methods in modules HOT 1
- Order of `@exposed` and `@enableCache` seems to be relevant -- but it shouldn't HOT 1
- Use of `ComputeMethod.OnWrite`-feature in a bone that is referenced as refKey in `RelationalBone` is always
- Sort the module names in selection for Rebuild search index alphabetically HOT 2
- Refactoring `typing` imports / usage HOT 4
- Provide helper classmethod or an abstract class for universal `@exposed`
- Why does `PasswordBone` not inherit from `CredentialBone`?
- core 3.6 does not deliver vi/settings correctly HOT 1
- Turn JSON-serializable rendering into bones
- Implement to ensure the validity of `$KIND_$BONE_uniquePropertyIndex` entities
- Split `DateBone` into several bones for different use-cases
- Context-manager for transactions with Skeletons `with MySkel().transact(): ...` HOT 3
- Clarification required: Should `StringBone`/`PasswordBone` handle whitespace? HOT 1
- Removal of `UserSkel.gaeadmin`-bone?
- deprecation handling in `utils` caused `AttributeError`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viur-core.