-
Notifications
You must be signed in to change notification settings - Fork 23
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
Private datasets don't have a private dataset icon #1593
Comments
Default CKAN had that, but we didn't carry it across to the new design. Same for Probably very easy to add it back (est. < 2 hrs). |
can you send me a screen grab? I dont have any private datasets to test this On Mon, Oct 27, 2014 at 5:44 AM, cjhendrix notifications@github.com wrote:
|
Sorry @ochadataproject , this one fell through the cracks. Here is the view on the dashboard (default CKAN labeling of "private" and "deleted") The proposed solution is to add a similar functionality to the dataset view page: |
Pinging @ochadataproject @yumiendo if this is an ok solution once the issue is prioritized for action. |
thanks CJ, looks fine. How does it work with the dataset page that shows thanks On Thu, Feb 26, 2015 at 5:02 AM, cjhendrix notifications@github.com wrote:
|
We don't archive old versions of a resource (if you upload a new version of spreadsheet to the same resource, the old version is gone). However, it's actually not possible to really delete things on ckan, they are just marked as deleted in the database. So a deleted dataset is still in the database, with the last version of its resources and visible only to org members on the org page. |
added the lock icon(svg) to the google drive |
@yumiendo jumping on here, in CKAN nothing is ever really deleted. If an user deletes something, only that user will be able to "see" that dataset. That user and system administrators, like us. The advantage of that is that if an user makes a mistake we can "undelete" pretty much anything using the API. |
Remember "Recycle Bin"? Mie, 9 sept. 2015, 05:35, Luis Capelo notifications@github.com a scris:
|
@teodorescuserban it is like Recycle Bin, but there is not "empty recycle bin" button :) |
yes it is. I got a big red one :) În Mie, 9 sept. 2015 la 15:48, danmihaila notifications@github.com a
|
thanks guys for the info. 2 questions:
I didn't see 'deleted' on dashboard after deleting the file - is it supposed to appear there too? (my dataset - 3rd screenshot) |
@yumiendo I believe there isn't an option in the UI that allows an user to "revive" data. It is only available through the API to the final user at the moment ... |
That's correct. I like it when one ancient issue links to another ancient issue. :) #782 Happy we are digging down into these! |
ahaahaha I was just thinking about 'undelete' action. |
@yumiendo at times we have to undelete datasets or resources. It comes around for the Data Team at least once every two months or so. Cc'ing @takavarasha so he can contribute. |
From an interface perspective, I just made the issue about undelete because it seems weird to show users deleted datasets but not to give them the ability to undelete. As far as I know, no users have asked for it. |
@cjhendrix I agree...maybe its an option to make it visible to sys admin only? |
I suggest that if we are going to build a button for it, we can easily make it visible to both sysadmins and users who have rights on the dataset to be undeleted. |
There needs to be a research seeing what implications this delete / Just to be clear about the "Recycle Bin". From server console, I can either @luiscape if there are only a handful of datasets per month that need to be În Mie, 9 sept. 2015 la 18:09, cjhendrix notifications@github.com a scris:
|
@yumiendo, @scraperdragon, @cjhendrix to make it clear, there is no feature request from the Data Team. This isn't much of a need nor a problem. |
:) În Mie, 9 sept. 2015 la 19:36, Luis Capelo notifications@github.com a
|
Sorry to side track from the main topic which is about private icon. I find 'deleted' label strange without having a way to "undelete" a dataset and the fact that something I deleted doesn't go away kind of scares me. (original issue by CJ #782) (I just tried this and it's strange. I deleted dataset > the dataset says "deleted" > edited meta data > uploaded new dataset > the dataset still says "deleted") so to make it easy - shall we REALLY delete(or do not display) dataset if its deleted @cjhendrix @luiscape @takavarasha ? |
Hiding a dataset from a user if it is deleted seems reasonable to me. That is, that user would only be able to see that dataset if she knew the specific URL (or dataset id) of that dataset. |
I am of the opinion that in the absence of a recycle bin, a deletion must be permanent. There are many reasons why a user might want to delete something. Typical cases are they were doing tests and no longer need the dataset. There are more serious cases though, like when user uploads something sensitive or deeply personal (by mistake) and they just want to take it down. I can imagine the frustration that someone in that situation would feel when they realize that their mistake will not be going away. Another issue to consider is that a deleted dataset keeps its url. The url is by default constructed from the title of the dataset. Sometimes users will simply want to delete an old dataset and replace it with a new one, which is a reasonable thing to do. However, there will be problems if they give the new dataset the same Title as the one they (or someone else) deleted. I can imagine trying to create a dataset and being told that it already exists, yet I was so sure I had deleted it. Then I search for it and I can't find it. Then go back to try and add it again and being told it already exists... This is rare but has happened several times already. Finally, soft deletes like the one we currently have work well if there is a recycle bin. Most users are already familiar with how recycle bins work. I would suggest we maintain the soft delete, but add "restore" and "permanently delete" buttons to deleted datasets for users with privileges to edit the dataset in question. Sent from my iPhone
|
I think we should have a discussion about how to handle the deletion of different entities: dataset, location, organization, user in HDX CKAN. To compare it how it is in CKAN and what are our preferences and of course if we want to change what will be the implications... |
Since @amcguire62 is on vacation at the moment, let me try an channel him. :) We got into this discussion because we are trying to action #2227. And the topic of this issue (#1593) is closely related and could be solved at the same time. These are purely about display of a dataset's status and not about the delete/recycle/undelete issue, so I suggest we split them. This issue plus #2227: display the icons and deleted/private badges on the dataset view page. We can action that now, @yumiendo could you give us a design that takes into account both the icons and the private/deleted labels? The much older (indeed default ckan) issue #782: we can discuss as Dan suggested (and I agree with @takavarasha proposed solution) but only if we think this is a real pain point for users (and @takavarasha describes a good case in which it would be). Let's move the discussion on that to #782. Because it gets quite deep into the ckan db schema, it might be costly to solve, and I don't want it to hold up what could be a quick fix to #782 and #1593. |
@cjhendrix, I think it comes from here: #356 |
Wow, we're going to start finding dinosaur fossils if we dig much further back . . . |
Two options to add private icon. option A. (quick fix) option B. (legit? fix) For both options - private icon is separated from other icon group since its more important key to the owner. |
Looks good to me. Option B if easy, option A if not, IMHO. A couple of additional suggestions to make Yumi's fix cover all cases:
Once we get the details nailed down, I think we need to package it all up and present to @amcguire62 . |
@ochadataproject comp is as above. option B(legit fix) is preferred direction to streamline the design of all pages which is part of another issue... #3555 |
thanks Yumi the private icon seems fine. I dont see the big difference On Thu, Sep 17, 2015 at 11:05 AM, yumiendo notifications@github.com wrote:
|
Delete/Undelete is part of the #3555 issue that we prioritized yesterday (and the 4 or 5 other issues closely related to it). By the time you read this we will have had the first call on breaking the work down. I think the delete/undelete part will be the last piece to build, but we will have to decide what behavior we want this week so Yumi can design for it. The ideal solution is to have a recycle bin from which users could permanently delete or restore a dataset, but that's complex to build and users haven't been asking for this. So the current plan A is to see if we can make deletion permanent. @takavarasha has summed up the reasons why this is important here #1593 (comment) Plan A may also be complex (to be researched by someone on the dev team next sprint). So plan B Tagging @amcguire62 since he's not on the participant list for this issue yet. |
@cjhendrix i think we can close this issue. tnx |
In the "my datasets" page, private datasets do have a private dataset icon. However, after you click on that dataset there isn't an icon. I can see the dataset is private by looking at "Visibility: private", but was wondering if it would be nicer to have an icon right next to the title ...
The text was updated successfully, but these errors were encountered: