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

Confluence permission sync fix for server deployment #2784

Merged
merged 7 commits into from
Oct 14, 2024
Merged

Conversation

hagen-danswer
Copy link
Contributor

Description

There is still room for improvement here

Copy link

vercel bot commented Oct 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 8:37pm

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Fixed Confluence permission synchronization for local server deployment, focusing on improved handling of server and cloud instances.

  • Introduced caching for user emails in _USER_EMAIL_CACHE to reduce API calls
  • Added separate functions _get_server_space_permissions and _get_cloud_space_permissions for different Confluence deployments
  • Improved space permissions handling in _get_space_permissions to support both server and cloud instances
  • TODO: Implement public access checking for spaces, currently assumed not public
  • Warning: Potential limitation in _extract_read_access_restrictions for pages with over 200 users or groups

1 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile

@hagen-danswer hagen-danswer changed the title Fixed confluence permission sync for local server deployment Confluence permission sync fix for server deployment Oct 13, 2024
@Weves Weves added this pull request to the merge queue Oct 14, 2024
Merged via the queue into main with commit 494fda9 Oct 14, 2024
7 checks passed
@hagen-danswer hagen-danswer deleted the conf-perm-sync-server branch October 15, 2024 16:33
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

Successfully merging this pull request may close these issues.

2 participants