Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (820 - 822 of 2152)

Ticket Resolution Summary Owner Reporter
#1076 fixed Improve revision and package purge system johnlawrenceaspden rgrp

Reported by rgrp, 3 years ago.

Description

Purging Revisions

  • Delete button displayed on:
    • /revision/list
    • (/package/history)
      • /package/history is problematic because html does not allow nested forms and we already have form for doing diff/comparison.
    • /revision/{id}
  • Delete button submits to delete action on revision and changes revision state to 'deleted'.
    • undelete button now displayed and revisions are marked as deleted in some way (e.g. greyed out?)
  • Sysadmins then visit /ckan-admin/trash which lists all revisions with deleted state. There is a large button: "Empty trash" (irreversible). Click button purges all revisions with deleted state.

Purging Packages

  • Put into deleted state.
  • Listed on /ckan-admin/trash
  • Separate Empty trash button which deletes all associated revisions.
    • Should be separate from Empty trash for revisions

Current system

  • Single purge link on revision listing if a sysadmin which permanently purges the revision and all associated changes (without confirmation atm!)
#1081 fixed can't remove user from authz group johnlawrenceaspden johnlawrenceaspden

Reported by johnlawrenceaspden, 3 years ago.

Description

I've found that if I make an authorization group I sometimes can't remove myself from it. I've no idea why. I can add and remove other users. I'll investigate, just making a note of it here.

#1083 fixed userobjectroles added twice can't be deleted johnlawrenceaspden johnlawrenceaspden

Reported by johnlawrenceaspden, 3 years ago.

Description

the add_user_to_role/remove_user_from_role functions are asymmetrical in that the add function is happy to add the same role twice but the remove asserts that it's only in the table once and crashes if that's not true.

an attempt has been made to guard against this, but fails, I think because the add functions rely on the caller committing the change to the db.

same problem affects corresponding authorization_group functions

I'll try to sort this out. Making a note here.

Note: See TracQuery for help on using queries.