Skip to content
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

Validation rules in integrity zome #71

Open
8 tasks
harlantwood opened this issue Apr 5, 2023 · 5 comments
Open
8 tasks

Validation rules in integrity zome #71

harlantwood opened this issue Apr 5, 2023 · 5 comments
Assignees

Comments

@harlantwood
Copy link
Member

harlantwood commented Apr 5, 2023

Validations

  • base of the TA link MUST be the (orig pubkey) of the DHT-level creator of the link
  • link tag
  • only agent who created a TA can delete it
  • IMPL: anywhere we have existing validation code
    • move it to integrity zome
    • if appropriate, still call it from the coord zome
@dauphin3
Copy link
Collaborator

dauphin3 commented Apr 8, 2023

-CRUD operations can only be accessed by the acting agent
-max data size for entries and linktags
-check that TA exists
-registration to check that agent exists in DHT
-permissions for shareable TGs

@harlantwood
Copy link
Member Author

-CRUD operations can only be accessed by the acting agent -max data size for entries and linktags -check that TA exists -registration to check that agent exists in DHT -permissions for shareable TGs

Awesome thanks @dauphin3 -- incorporated some of these into description.

@harlantwood
Copy link
Member Author

harlantwood commented May 19, 2023

@harlantwood for the first box above in validations, would this only be true for forward TA's? Since the base of reverse could be AnyLinkableHash

The conceptual TA base is as you say. But the holochain link base is always the agent, regardless of direction.

@dauphin3
Copy link
Collaborator

correction: will need to handle forward & reverse

@dauphin3
Copy link
Collaborator

dauphin3 commented May 27, 2023

@harlantwood perhaps consider LinkType Directions, review found in #79

names are just simply Forward & Reverse... could be changed to TAForward, or TrustAtomForward, etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants