-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always save nonpersisted ACLs (#6930)
* Always save nonpersisted ACLs * Convert Ldp::Gone to ObjectNotFoundError Ldp::Gone is the error raised by the fedora adapter when the resource is a tombstone after being deleted. * Test using a real adapter * Fix incorrect use of block with raise_error This was causing any raised error to be considered a pass, which is clearly not the intent. Fixing this revealed a problem caused by using Valkyrie::Resource directly. Required attributes were missing because they are only defined when the Valkyrie::Resource is inherited. * Fix specs that didn't expect an ACL save * Skip when using Wings Wings has its own custom query that is tested in spec/wings/services/custom_queries/find_access_control_spec.rb * Compare acl by id The ACL is resaved at some point resulting in a slight difference in updated_at
- Loading branch information
Showing
6 changed files
with
40 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters