Opened 18 years ago
Closed 17 years ago
#375 closed enhancement (fixed)
Shared items: the shareness of items should be listed in the properties view of the item
Reported by: | Jari Häkkinen | Owned by: | Martin Svensson |
---|---|---|---|
Priority: | minor | Milestone: | BASE 2.4 |
Component: | web | Version: | |
Keywords: | Cc: |
Description
As it is now the properties view will tell the user that the item is shared, but one needs to click on the share button to find out that it is shared.
Maybe the yellow hoover text in item listings should reveal the sharees also?
Change History (14)
comment:1 by , 18 years ago
Milestone: | → BASE 2.x+ |
---|---|
Summary: | Shared items: the sharees of items should be listed in the properties view of the item → Shared items: the shareness of items should be listed in the properties view of the item |
comment:2 by , 18 years ago
Milestone: | BASE 2.x+ → BASE 2.4 |
---|
comment:3 by , 18 years ago
Owner: | changed from | to
---|
comment:4 by , 17 years ago
Milestone: | BASE 2.4 → BASE 2.3 |
---|
comment:5 by , 17 years ago
Priority: | major → minor |
---|
comment:6 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:7 by , 17 years ago
comment:8 by , 17 years ago
It will probably be to much information in the tooltip if every project, group and user an item is shared to should be listed
Instead the number of each could be displayed, eg. 'This item is shared to: 2 projects, 1 group and 4 users.(?)
comment:10 by , 17 years ago
comment:11 by , 17 years ago
I think the code needs to be improved:
- The names of the users, groups and projects should be linked in the same way as for all other items.
- The code doesn't escape HTML in the names
- Use the isShared() method to check if an item is shared before starting to load users, groups and projects. It will probably save a few queries.
I think the entire code that is generating the list of users, groups and projects could be put in some utility class (PermissionUtil?) and then called from all JSP pages with a one-liner:
<tbl:cell column="sharedTo"><%=PermissionUtil.getSomething(item)%></tbl:cell>
comment:12 by , 17 years ago
comment:13 by , 17 years ago
(In [3553]) References #375. The list pages is done but the view pages should be updated to implement the ShareableUtil.getSharedTo(..) instead of current solution, before this ticket can be closed
comment:14 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Decided after a closer look to not change the view-pages.
Milestone BASE 2.4 deleted