psu-libraries / scholarsphere

Penn State's next generation institutional repository
MIT License
12 stars 7 forks source link

Error Messages on UUIDS is wrong #290

Closed DanCoughlin closed 4 years ago

DanCoughlin commented 4 years ago

When accessing UUIDs that don't exist or don't have access to, return a generic 404

whereismyjetpack commented 4 years ago

Screen Shot 2020-05-08 at 11 06 15 AM

When throwing Pundit::NotAuthorizedError we should return a 401

awead commented 4 years ago

Fixed in 635f957d6f5e203794a3ac804e46dd04d2f2cc4e