What problem does it solve?
This Skill provides robust mechanisms for controlling data access, executing logic at key data lifecycle points, and ensuring data integrity within the QUESTPIE framework.
Core Features & Use Cases
- Access Control: Define granular permissions for reading, creating, updating, and deleting data at both collection and global levels, including row-level restrictions.
- Lifecycle Hooks: Implement custom logic before or after data validation, changes, or deletions to automate tasks, transform data, or trigger side effects.
- Validation: Enforce data correctness through built-in field constraints and custom validation logic in hooks.
- Use Case: Secure a blog post collection so only authenticated users can create posts, administrators can update any post, and users can only update their own posts, while also automatically generating a slug from the title before saving.
Quick Start
Configure the 'posts' collection to allow public reads but restrict creation, update, and delete operations to authenticated administrators.