Expose read-only in-app notification details at GET /notifications/:id with owner scoping and list-all admin access. Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
192 B
Go
9 lines
192 B
Go
package notificationservice
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrNotificationNotFound = errors.New("notification not found")
|
|
ErrNotificationForbidden = errors.New("notification access denied")
|
|
)
|