btey / openproject-gitlab-integration

OpenProject module for integration with Gitlab
GNU General Public License v3.0
84 stars 18 forks source link

Gitlab tab not visible in workpackage #27

Closed longyn closed 1 year ago

longyn commented 1 year ago

Environment

installation

/app/modules/Gemfile.modules

root@3c57256ffb72:/app# cat Gemfile.modules | grep gitlab -C 3
  gem 'openproject-two_factor_authentication', path: 'modules/two_factor_authentication'
  gem 'openproject-webhooks',                  path: 'modules/webhooks'
  gem 'openproject-github_integration',        path: 'modules/github_integration'
+  gem 'openproject-gitlab_integration',        path: 'modules/gitlab_integration'
  gem 'openproject-ldap_groups',               path: 'modules/ldap_groups'
  gem 'openproject-recaptcha',                 path: 'modules/recaptcha'
  gem 'openproject-job_status',                path: 'modules/job_status'

/app/modules/Gemfile.lock


+PATH
+  remote: modules/gitlab_integration
+  specs:
+    openproject-gitlab_integration (2.0.5)
+      openproject-webhooks

  openproject-github_integration!
+ openproject-gitlab_integration!
  openproject-job_status!

Run the following command in docker

bundle config unset deployment 
bundle install --deployment --without mysql2 sqlite development test therubyracer docker
bundle config set deployment true

Gitlab plugin is visible in Project Modules

image

The gitlab tab is not visible in workpackage, Am I missing something? Thanks in advance.

btey commented 1 year ago

Hi @longyn

I just installed OpenProject 12.4.0 using the docker installation method with the plugin. After enable the plugin in the project, and with the Admin user (check that your user has rights to see the Gitlab tab) I can see and access the Gitlab tab.

Screen Shot 2022-12-06 at 17 07 21

Screen Shot 2022-12-06 at 17 07 44

Which installation method did you follow?

NovoG93 commented 1 year ago

Hi @longyn,

I was just facing the same issue (only the admin user could see the gitlab tab) but found the solution. You need to enable the permission to see the gitlab tab for the specific roles, e.g. for members in http://your-openproject.com/admin/roles/report $\rightarrow$ gitlab