Comments (2)
Publishing a draft will automatically raise the draft version to the publish version. It it thus no longer possible to distinguish between 1.0 being the draft or publish version. Mesh currently assumes this version is a draft. The selected permission is currently not chosen by the actual type of container. Instead it is chosen by the query parameter value (version=published -> READ_PUBLISH_PERM) all other values fall back to READ_PERM permission. (NodeCrudHandler:439)
In order to fix this we would need to load the desired version and figure out what versions could be applied.
Desired behaviour:
- Loading a node version using the version parameter should always return the node within the draft scope.
from mesh.
I finally figured out what the issue is. I have described the technial issue in #1104
Fixing the problem would however cause a breaking change. I'll continue to track the issue in #1104
from mesh.
Related Issues (20)
- ES Search Admin-Permission checks HOT 1
- GraphQL query responses show default language versions only
- Case-insensitive Nice URLs
- gentics-mesh admin login FAILs behind reverse-proxy; OK at direct connect HOT 8
- Clustered Mesh Search Status
- /Sync doesn't populate nodes in elasticsearch HOT 3
- Error when trying to update S3 binary field
- Problems managing the Mesh-UI permissions after creating a schema containing a S3 field
- Can I connect OrientDB database of mesh? HOT 1
- Add "curl" to the docker-image HOT 1
- Responsible disclosure policy HOT 1
- Log4j (CVE-2021-44228) vulnerability HOT 1
- Search binary_content node by field
- versionpurge job getting Job Queue stuck. HOT 4
- Timeout when deleting big projects or nodes
- Pull Request Preview Environments for increasing maintainer productivity
- Additional field types needed
- Invalid input for Enum 'JourDeLaSemaine'
- Gentis Mesh 1.10.5 Demo Won't Start (Docker and JAR File)
- S3binary field for many languages holds only binary data of the latest language saved
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 mesh.