Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#42157] flipped static permission urn for file links

Eric Schubertcdef94ff8e64
diff --git a/modules/storages/lib/api/v3/file_links/file_link_representer.rb b/modules/storages/lib/api/v3/file_links/file_link_representer.rb
index 1b478ca6e71..385f5ccfd97 100644
--- a/modules/storages/lib/api/v3/file_links/file_link_representer.rb
+++ b/modules/storages/lib/api/v3/file_links/file_link_representer.rb
@@ -72,7 +72,7 @@ module API
link :permission do
# TODO: replace with service to check real permission state
{
- href: URN_PERMISSION_NOT_ALLOWED,
+ href: URN_PERMISSION_VIEW,
title: 'View'
}
end