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

Fix Typos

Klaus Zandersa313b938b49e
diff --git a/app/services/authorization.rb b/app/services/authorization.rb
index 69adb26bd42..a95787d775c 100644
--- a/app/services/authorization.rb
+++ b/app/services/authorization.rb
@@ -39,7 +39,7 @@ module Authorization
Authorization::ProjectQuery.query(user, action)
end
- # Returns all roles a user has in a certain project, for a specific enttiy or globally
+ # Returns all roles a user has in a certain project, for a specific entity or globally
def roles(user, project: nil, entity: nil)
if entity
Authorization::UserEntityRolesQuery.query(user, entity)
diff --git a/docs/development/concepts/permissions/README.md b/docs/development/concepts/permissions/README.md
index 6d33918c3f7..cabe0a34201 100644
--- a/docs/development/concepts/permissions/README.md
+++ b/docs/development/concepts/permissions/README.md
@@ -16,7 +16,7 @@ With RBAC, the application defines a set of roles that users and groups can be i
*Permissions in OpenProject...*
- use the Role-based access control (RBAC) approach to allow fine-grained access to authorized resources
-- are assigned to users and groups through roles on a per-project, per-resource or global level
+- are assigned to users and groups through roles on a per-resource, per-project, or global level
- are often communicated to the frontend through the presence of action links in HAL resources
## Definition of roles