@robertraaijmakers/pptb-securityplugin 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +78 -0
- package/dist/app.js +17699 -0
- package/dist/app.js.map +7 -0
- package/dist/index.css +986 -0
- package/dist/index.html +415 -0
- package/dist/styles.css +754 -0
- package/docs/index.md +56 -0
- package/package.json +47 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Robert Raaijmakers
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Security Roles Explorer
|
|
2
|
+
|
|
3
|
+
Power Platform ToolBox tool for inspecting and managing Dataverse security roles, table privileges, and user assignments.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
Security Roles Explorer helps you quickly understand which roles grant access to which tables and lets you update privileges or user-role assignments in one place.
|
|
8
|
+
|
|
9
|
+
## Features
|
|
10
|
+
|
|
11
|
+
- View role privileges by role or by table
|
|
12
|
+
- Batch cache of role privilege data for faster loading
|
|
13
|
+
- Sort and filter by privilege level
|
|
14
|
+
- Rights filter (all / with rights / without rights)
|
|
15
|
+
- Role multi-select filter (entity mode)
|
|
16
|
+
- Apply or undo pending privilege changes
|
|
17
|
+
- Assign or remove roles for users (role -> users or user -> roles)
|
|
18
|
+
- Activity log with timestamps
|
|
19
|
+
- Light/dark theme support with a manual toggle
|
|
20
|
+
|
|
21
|
+
## Requirements
|
|
22
|
+
|
|
23
|
+
- Power Platform ToolBox (desktop app)
|
|
24
|
+
- Node.js 18+ (recommended)
|
|
25
|
+
|
|
26
|
+
## Development
|
|
27
|
+
|
|
28
|
+
Install dependencies:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
npm install
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Build once:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm run build
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Watch mode:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npm run build:watch
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Loading in ToolBox
|
|
47
|
+
|
|
48
|
+
1. Enable Debug Menu in ToolBox settings.
|
|
49
|
+
2. Use Debug > Load Local Tool and select this folder.
|
|
50
|
+
3. Close and reopen the tool to refresh changes.
|
|
51
|
+
|
|
52
|
+
## Usage
|
|
53
|
+
|
|
54
|
+
1. Select a connection in ToolBox.
|
|
55
|
+
2. Choose a filter mode:
|
|
56
|
+
- By role: review privileges for a single role.
|
|
57
|
+
- By entity: compare multiple roles for a single table.
|
|
58
|
+
3. Use the filters and sort controls to narrow results.
|
|
59
|
+
4. Change privilege levels in the grid and click Apply changes.
|
|
60
|
+
5. Use the Assign security roles tab to add/remove roles for users.
|
|
61
|
+
|
|
62
|
+
## Contributing
|
|
63
|
+
|
|
64
|
+
1. Fork the repo.
|
|
65
|
+
2. Create a feature branch.
|
|
66
|
+
3. Make changes with small, focused commits.
|
|
67
|
+
4. Run `npm run build` and verify in ToolBox.
|
|
68
|
+
5. Open a pull request with a clear description and screenshots if UI changes.
|
|
69
|
+
|
|
70
|
+
## Troubleshooting
|
|
71
|
+
|
|
72
|
+
- If the tool shows "Not connected", select a connection in ToolBox and reload.
|
|
73
|
+
- If role privileges fail to load, verify the connection user has the required security role permissions.
|
|
74
|
+
- If UI changes do not appear, ensure `npm run build` completed and reopen the tool.
|
|
75
|
+
|
|
76
|
+
## License
|
|
77
|
+
|
|
78
|
+
MIT
|