EntityPrivilegeCopy 0.2.0

dotnet add package EntityPrivilegeCopy --version 0.2.0
                    
NuGet\Install-Package EntityPrivilegeCopy -Version 0.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EntityPrivilegeCopy" Version="0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EntityPrivilegeCopy" Version="0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="EntityPrivilegeCopy" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EntityPrivilegeCopy --version 0.2.0
                    
#r "nuget: EntityPrivilegeCopy, 0.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package EntityPrivilegeCopy@0.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EntityPrivilegeCopy&version=0.2.0
                    
Install as a Cake Addin
#tool nuget:?package=EntityPrivilegeCopy&version=0.2.0
                    
Install as a Cake Tool

EntityPrivilegeCopy

Entity Privilege Copy Tool is an plugin for XrmToolBox. You can use this plugin to copy some entity privilege level from one entity to others base on security roles.

alternate text is missing from this package README image



alternate text is missing from this package README image

Usage example

Preparation: A solution contains the security role that you want to change. Please make sure you have backuped the solution.

Steps

    1. Click <kbd>Load Data</kbd> to load the metadata, wait until the "Load end." output show in Log.
    1. Select Source Entity, you can input the entity display name to filter list.
    1. Select Target Entity(s), you can select one or many entity you want, the input box is used to filter the list entities.
    1. Select Security Role Solution.
    1. Select Copy Privilege Type, the unselected type will be ignore during copy.
    1. Click <kbd>Execute</kbd> to do the copy. Also if you want to see the change first, you can click <kbd>Preview</kbd> and see the log output.

Release History

  • 0.2.0
    • add a filter for target entity
    • add a security type filter
    • add log output
  • 0.1.0
    • The first proper release

Meta

Ray Gan – ganzhiyi1994@gmail.com

Known Issue

Error when entity owner type is Organization.

Export solution button is in developing, can not work for now.

TODO List

Add a process bar during action. Cache metadata for better perfomance.

Contributing

I am re-writting this plugin becasue the code is mess, so you can consider wait for the new release code or just start your own work.

Product Compatible and additional computed target framework versions.
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.0 866 12/21/2021

0.2.0
add a filter for target entity
add a security type filter
add log output
0.1.0
The first proper release