* introduce visible scope to capabilities and apply it to CapabilityQuery
* remove redundant scope
Capability has the `.default` scope as its default scope
* adding spec on show action for unreadable capability
* reuse existing shared example
* move Principal.visible check into Capability.visible
- **it's** is a contraction of _it is_ or _it has_. It requires an
apostrophe.
- **its** is the posssive form of _it_, denoting ownership. It should
not use an apostrophe.
No longer will the non member role`s capabilities be signaled to be had by users having at least one role in the project. This is in sync with how the actual permission checks handle the permissions.
Added to the Project details widget on project overview page.
Displaying the menu entry conditionally depending on the activity module
being activated is done through a public permission. Capabilities
endpoint has been extended to include actions from public permissions.
* Fix argument alignment since f08bea3467
The FactoryBot.* prefix has been removed in f08bea3467. Since then
rubocop complains about Layout/ArgumentAlignment. This commit fixes it.
* do not fix alignments for modules/*/spec yet
hoping to be under the limit of 65535 characters for reviewdog to report on rubocop errors
* Bump @xeokit/xeokit-gltf-to-xkt to version 1.0.0
* Bump Xeokit SDK and Xeokit BIM Viewer
* Overwrite XEOKIT orthogonal/perspective toggle icon
* Add styles for section tool and its menu
* Remove SAO deactivation for non default models.
Performance of SAO has improved ever since Xeokit's FastNavPlugin was created.
* bump xeokit sdk and bim viewer
* IFC viewer toolbar adoption for section plane tool.
* Fix spec after xeokit bump
* Feature 33880 Add Edit/Delete/Add model buttons in Models tab
* Paths to xeokit's bim viewer code changed
* Bumping xeokit packages
* Fix default_spec.rb for scopes
* Capabilities API
* introduce auxilliary capability model
* capability model and query
* render in sql
* fix pagination
* introduce sql representer
* extract abstract sql representer class
* remove yet unused methods
* abstract sql collection representer
* contract_actions as part of permissions
* filter for capability id - used in GET
* id filter validation
* remove unused representer
* remove unused wp representer
* reuse renaming class
* add spec for access control
* add principal filter to capability
* add context filter
* extract capability sql into scope
* admin gets all capabilities
* require to have one filter set to keep performance bearable
* consider active project modules for capabilities
* limit capability based on principal visiblity and user state
* rework capability to be tableless
* spec not being allowed to see on request level
* add actions to capability representer
* add action api
* extract sql index endpoint
* remove unused class
* prepare sending signaling error - not yet frontend exposed
* extract show endpoint for sql rendered responses
* use UNION for better performance
* include navigation links on collections
* remove string replacements
* extract collection representer into hal sql module
* no capabilities when blocked
* remove commented out code