Content
You are here:
Error during setup_dev: ArgumentError in OpenProject 13.0.7(ArgumentError: missing keyword: :permissible_on)
Added by Mansi Jasani about 1 year ago
Hello,
I'm currently working on setting up OpenProject latest version - 13.0.7, and I've encountered an error while configuring the my "Graph Plugin". I'm reaching out to the community for assistance in resolving this issue. I am also attaching a screenshot of the error for better clarity.
Additionally, if there are specific steps or configurations for my Graph Plugin in OpenProject 13.0.7 that I might be missing, please let me know.
Replies (2)
Hi, could you please show us the code of your
.../graph_plugin/engine.rb
in line 26? Can we see the source somewhere in general?There have been some changes in the permissions interface recently.
Hi,
first of all, sorry for the inconvenience this change has caused. As Markus has pointed out, we have recently made some adjustments to our permission system. We are in the process of allowing more fine grained definitions of permissions, especially we are allowing to give users permissions on single work packages. For this, we added the new keyword
permissible_on
that defines what resources a permission can be assigned to. For most cases, you want to addpermissible_on :project
, as this what you most likely want to add the permission to.Since we wanted developers to make a decision for each permission, we decided not to add a default.
Here's our PR that introduced the changes: https://github.com/opf/openproject/pull/13532
If the
openproject-graph_plugin
is open source, could you point me to the Repository? I'll add a PR to add those changes. If it is your own, let me know if you need additional help to add it.