- 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.
37 lines
568 B
Plaintext
37 lines
568 B
Plaintext
meta {
|
|
name: Refresh Cache
|
|
type: http
|
|
seq: 6
|
|
}
|
|
|
|
post {
|
|
url: {{baseUrl}}/api/git-repos/1/refresh-cache
|
|
body: none
|
|
auth: none
|
|
}
|
|
|
|
headers {
|
|
Accept: application/json
|
|
Cookie: {{sessionCookie}}
|
|
}
|
|
|
|
docs {
|
|
# Refresh Cache
|
|
|
|
Manually clears the cache for a specific repository.
|
|
Forces fresh data on next request for commits and contributions.
|
|
|
|
## Response
|
|
```json
|
|
{
|
|
"success": true,
|
|
"message": "Cache cleared successfully"
|
|
}
|
|
```
|
|
|
|
## Use Cases
|
|
- After pushing new commits
|
|
- When data appears outdated
|
|
- Testing/development
|
|
}
|