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

Handling of get sub projects without having access to it #244

Closed
maierthomas opened this issue Apr 26, 2018 · 2 comments
Closed

Handling of get sub projects without having access to it #244

maierthomas opened this issue Apr 26, 2018 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@maierthomas
Copy link
Contributor

Issue by maierthomas
Monday Mar 26, 2018 at 09:50 GMT
Originally opened as sw360/sw360portal#797


In sw360 portal users can link projects to the selected project as kind of a sub project.
The user can see this relation in the following menus:

  • linked releases and projects (Projects)
  • is used by the following projects (Components)

For each project users can set individual project visibilities (group, moderators, everyone, private).
Therefore it can be possible that some projects are linked to projects with visibility group or private..
This will result that projects are linked, but the user does not have access to them.

In the current implementation sw360portal (ProjectDatabaseHandler, getProjectById) throws a generic sw360exception in case of getting information about the linked project.

  • add additional exception, e.g. 403 forbidden
  • usages of this method should be modified, individually decision of exception handling
@maierthomas maierthomas added the enhancement New feature or request label Apr 26, 2018
@mcjaeger mcjaeger added this to the Backlog milestone Sep 22, 2018
@mcjaeger
Copy link
Contributor

related #207

@mcjaeger
Copy link
Contributor

there is a warning (as liferay portal message in the top of the page message capsule) now, for this case. if that happens it is telling the user not having sufficient rights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants