Project

General

Profile

Actions

Bug #3128

closed

portfolio shared via repository

Added by Koen Favere about 12 years ago. Updated about 12 years ago.

Status:
Feature implemented
Priority:
Normal
Assignee:
Nathalie Blocry
Target version:
Start date:
22/03/2011
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal

Description

If a portfolio is shared for use via the repository and then is published by the user that has only publish rights, all the content can be changed by this user in the portfolio and is also changed in the repository of the owner.
This should be blocked, so that only publication properties can be changed, in accordance with other content objects.

Actions #1

Updated by Nathalie Blocry about 12 years ago

  • Assignee set to Nathalie Blocry
there are 2 possible ways to fix this:
  • we don't allow shared co's in portfolio's, only your own (seems most logical to me)
  • we do allow shared co's in portfolio's but you can never edit them. then someone needs to explain all the different repository rights somewhere because I currently have no idea how it all works.
Actions #2

Updated by Sven Vanpoucke about 12 years ago

The second option is the one that is currently active in the weblcms

Actions #3

Updated by Nathalie Blocry about 12 years ago

yes I know, and I would implement that but I don't understand the difference between all those repository rights so I need some explanation before I can implement this solution (preferably somewhere on the wiki/forum/bugtracker so it is available for everybody)

Actions #4

Updated by Sven Vanpoucke about 12 years ago

repository rights are cumulative => search, view, use and reuse where use is just the possibility to use the object and reuse the possibility to make a copy from that object. Thus with a use right you are never allowed to edit the contents.

Actions #5

Updated by Nathalie Blocry about 12 years ago

so a shared object can never be edited?
use right gives you the permission to publish it without editing it
re-use right gives you the permission to copy it and then modify it
correct?

Actions #6

Updated by Sven Vanpoucke about 12 years ago

Correct
And we should introduce a new right between use and reuse => collaborate right which makes it possible to edit the same content object.

Actions #7

Updated by Nathalie Blocry about 12 years ago

  • Status changed from New to Needs testing
Actions #8

Updated by Koen Favere about 12 years ago

Can you push it to the stable so we can test it?
Thanks in advance.

Actions #9

Updated by Nathalie Blocry about 12 years ago

pushed it to the stable so you can test, but i would prefer that in the future things could be tested before being pushed to the stable

Actions #10

Updated by Koen Favere about 12 years ago

I've tested it locally.
You can't edit a shared portfolio anymore.
But you can't share any portfolio anymore with no-one. Even anonymous users.
Even after clearing the cache or restart of the browser

Actions #11

Updated by Nathalie Blocry about 12 years ago

what do you mean with "you can't share a repository anymore"
I don't have any problems, everything works (giving permissions to anonymous users, system users or specific users all works as expected)

Actions #12

Updated by Koen Favere about 12 years ago

if i set rights on the protfolio nothing happens: the shared user doesn't see anything
the portfolio stays invisisble to the shared user, here on my local chamilo installation.
even if i set it open to everyone.
even with closing and opening the browser.

Actions #13

Updated by Koen Favere about 12 years ago

  • Status changed from Needs testing to Feature implemented

Tested it again.
It's OK. Works super! My mistake. Sorry.

Actions #14

Updated by Stefaan Vanbillemont about 12 years ago

  • Project changed from Chamilo LCMS Connect to Portfolio
  • Category deleted (30)
Actions #15

Updated by Stefaan Vanbillemont about 12 years ago

  • Target version set to 2.1.0
Actions

Also available in: Atom PDF