myCRM/bruno/Git Integration/Delete Repository.bru
olli 1e02439e8a feat: Implement project ownership and team member management with access control
- Added owner and team members relationships to the Project entity.
- Updated ProjectRepository to find projects based on user ownership or team membership.
- Enhanced ProjectVoter to manage view, edit, and delete permissions based on ownership and team membership.
- Created ProjectAccessExtension to filter projects based on user access.
- Updated ProjectManagement.vue to include owner and team member selection in the UI.
- Implemented API endpoints for managing Git repositories with proper access control.
- Added migration to update the database schema for project ownership and team members.
2025-11-14 10:49:54 +01:00

33 lines
595 B
Plaintext

meta {
name: Delete Repository
type: http
seq: 9
}
delete {
url: {{baseUrl}}/api/git_repositories/1
body: none
auth: none
}
headers {
Accept: application/json
Cookie: {{sessionCookie}}
}
docs {
# Delete Repository
Deletes a Git repository entry.
## Security
- Requires authentication via session cookie
- Voter checks DELETE permission
- Only accessible if repository belongs to user's project
## Important
- This only deletes the database entry
- The actual Git repository remains untouched
- Cache for this repository is automatically cleared
}