@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/docs/index.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Security Roles Explorer
|
|
2
|
+
|
|
3
|
+
Security Roles Explorer is a Power Platform ToolBox (PPTB) tool that helps you review and manage Dataverse security roles, table privileges, and user-role assignments.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
1. Open Power Platform ToolBox.
|
|
8
|
+
2. Go to the Tool Gallery.
|
|
9
|
+
3. Search for "Security Roles Explorer".
|
|
10
|
+
4. Install the tool.
|
|
11
|
+
|
|
12
|
+
## Connect
|
|
13
|
+
|
|
14
|
+
1. Open the tool.
|
|
15
|
+
2. Select a Dataverse connection in PPTB if prompted.
|
|
16
|
+
3. The tool will load roles, tables, and privileges automatically.
|
|
17
|
+
|
|
18
|
+
## Edit Security Roles
|
|
19
|
+
|
|
20
|
+
Use this tab to view or adjust table privileges.
|
|
21
|
+
|
|
22
|
+
1. Choose a filter mode:
|
|
23
|
+
- By role: show privileges for a single role.
|
|
24
|
+
- By entity: compare multiple roles for a single table.
|
|
25
|
+
2. Use the filters or sorting to find the rows you need.
|
|
26
|
+
3. Change privilege levels in the grid.
|
|
27
|
+
4. Click Apply changes to save, or Undo changes to discard.
|
|
28
|
+
|
|
29
|
+
Tips:
|
|
30
|
+
- Use the Rights filter to show only tables with or without rights.
|
|
31
|
+
- In entity mode, use the role filter to include or exclude roles.
|
|
32
|
+
|
|
33
|
+
## Assign Security Roles
|
|
34
|
+
|
|
35
|
+
Use this tab to add or remove roles for users.
|
|
36
|
+
|
|
37
|
+
1. Choose the view:
|
|
38
|
+
- Role -> Users: see who has a role.
|
|
39
|
+
- User -> Roles: see roles for a user.
|
|
40
|
+
2. Select users or roles in the list.
|
|
41
|
+
3. Click Add or Remove.
|
|
42
|
+
|
|
43
|
+
## Notes
|
|
44
|
+
|
|
45
|
+
- Append and Append To are related. You typically need both sides for lookups to work.
|
|
46
|
+
- Changes are applied using Dataverse security APIs and may require appropriate permissions.
|
|
47
|
+
|
|
48
|
+
## Troubleshooting
|
|
49
|
+
|
|
50
|
+
- If the tool shows "Not connected", select a connection in PPTB and reopen the tool.
|
|
51
|
+
- If privileges fail to load, verify the account has security role admin permissions.
|
|
52
|
+
- If changes do not show immediately, reload the tool.
|
|
53
|
+
|
|
54
|
+
## Support
|
|
55
|
+
|
|
56
|
+
If you have issues or suggestions, open a GitHub issue in this repository.
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@robertraaijmakers/pptb-securityplugin",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"displayName": "Security Roles Explorer",
|
|
5
|
+
"description": "Be fully in control of your security by quickly viewing and managing which security roles give access to which tables. And who is assigned which security role.",
|
|
6
|
+
"author": "Robert Raaijmakers",
|
|
7
|
+
"contributors": [
|
|
8
|
+
{
|
|
9
|
+
"name": "Robert Raaijmakers",
|
|
10
|
+
"url": "https://github.com/robertraaijmakers"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"main": "dist/index.html",
|
|
15
|
+
"keywords": ["powerplatform", "dataverse", "toolbox", "security"],
|
|
16
|
+
"homepage": "https://robertraaijmakers.github.io/pptb.securityplugin/",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://github.com/robertraaijmakers/pptb.securityplugin/"
|
|
20
|
+
},
|
|
21
|
+
"configurations": {
|
|
22
|
+
"repository": "https://github.com/robertraaijmakers/pptb.securityplugin/",
|
|
23
|
+
"website": "https://robertraaijmakers.github.io/pptb.securityplugin/",
|
|
24
|
+
"readmeUrl": "https://raw.githubusercontent.com/robertraaijmakers/pptb.securityplugin/main/README.md"
|
|
25
|
+
},
|
|
26
|
+
"files": ["dist/**", "README.md", "docs/**"],
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "npm run build:bundle && npm run build:assets",
|
|
29
|
+
"build:bundle": "esbuild src/app.ts --bundle --sourcemap --outdir=dist",
|
|
30
|
+
"build:assets": "mkdir -p dist && cp src/index.html src/index.css dist/",
|
|
31
|
+
"build:watch": "esbuild src/app.ts --bundle --sourcemap --outdir=dist --watch",
|
|
32
|
+
"finalize-package": "node scripts/finalize-package.js",
|
|
33
|
+
"validate:publish": "node scripts/validate-publish.js",
|
|
34
|
+
"version:beta": "npm version prerelease --preid beta",
|
|
35
|
+
"version:stable": "npm version patch",
|
|
36
|
+
"publish:beta": "npm publish --access public --tag beta",
|
|
37
|
+
"publish:stable": "npm publish --access public"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@pptb/types": "1.0.19-beta.3",
|
|
41
|
+
"esbuild": "^0.20.2",
|
|
42
|
+
"typescript": "^5.4.5"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"chart.js": "^4.4.1"
|
|
46
|
+
}
|
|
47
|
+
}
|