-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUGFIX: Invalidate triple was not being written to the correct graph #5
BUGFIX: Invalidate triple was not being written to the correct graph #5
Conversation
shouldn't this be written to both graphs? @nvdk can you check this? I don't know enough about sudo services and mu-auth to review this |
Mmmmm, technically not because we don't use the valid through inside the app, only from outside, but I don't know if it's semantically more correct |
afaik published templates (or rather their metadata) is only written to the published graph. Let me just describe what I think should happen in this service:
So from that standpoint this seems correct. I do have some questions on how that relates to the data from the app users standpoint. note that there's a disconnect between the public data above and the actual documents that a user maintains. The idea is that the publication creates a separate public file (on disk or in the db) that contains a published variant. In the app itself it may or may not be possible to delete documents. I don't think the publishing service should take care of that. |
afaict the user (that is, the person logged in to the registry) only sees the templates. Every template can be in 2 states, not published or published. When you make a change to a published template, the currently published version gets overwritten (from the user's standpoint, no idea what the data does) |
Basically we have 2 data structures:
|
Sideremark: For public data we should avoid using the ext namespace
On 4 October 2022 13:57:16 CEST, Oscar Rodriguez Villalobos ***@***.***> wrote:
Basically we have 2 data structures:
- Reglement: It has a document container via `ext:hasDocumentContainer` this document container behaves the same as GN, with the different versions etc...
- ext:PublishedRegulatoryAttachmentContainer: This is the publication container, is linked to the reglement via `ext:publishedVersion`, it has a current version of `ext:PublishedRegulatoryAttachment`, also a version history with `pav:previousVersion` which is currently not used for anything.
--
Reply to this email directly or view it on GitHub:
#5 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well the discussion has no conclusion but I guess its fine to merge
No description provided.