| Age | Commit message (Collapse) | Author |
|
|
|
|
|
#4658
|
|
|
|
|
|
|
|
Note: Did not fix the missing workgroup in the calendar mailer
|
|
- Adapted shared pundit examples to allow to check with archieved and finalised referentials
- Speced desired behavior with this enhancement
- finalise_referential helper in policy spec's support
|
|
- Get rid of ActiveSupport::Concern in the spec helpers
- Rename misnamed spec files
|
|
- Fix specs on connections_links/show
- Update pundit view specs helper to use the current referential when it
has already been defined
|
|
Add specs for the view.
Refactor to come
|
|
|
|
Added Controller Spec
Fixed Older Specs
|
|
|
|
- Fixes remaining issues with LinePolicy, CalenderPolicy & RoutePolicy
- Dead Code elimination
|
|
Policy Refactoring and Policy Test Completion
- All policies (and all permissions) under test.
- Common patterns and potential problems identified...
- ... and documented in DEVNOTES.md
- some simply refactorings
|
|
newapplication helper default authorization, (no if) ->
* DefaultPolicy (all true)
* Add some policies (LinePolicy)
* Use `boiv:read` pour show, index
* Adapted `table_builder`
|
|
- Fixed bugs in Policy Specs (Shared methods were not using records)
- Using build_stubbed instead of create for all Policy Methods (5.43s -> 3.75s)
|
|
There's a `UserContext` class that allows us to build user contexts. We
should use the full type for this instead of creating an anonymous one
for the context.
|
|
|
|
|
|
|
|
|
|
- Policy spex specific support code moved to spec/support/pundit
- Shared Xample group for policies permitting access depening on one specific permission and organisation_match
|