Auto Assign User's Perplex Folder Start Nodes When Folder is Created#13
Auto Assign User's Perplex Folder Start Nodes When Folder is Created#13cory-colt wants to merge 2 commits intoPerplexDigital:masterfrom
Conversation
…able which belong to a folder that is being deleted.
…7.4.0. Added new class and functionality to associate users with a newly created Perplex folders and to remove this association when the folder is deleted.
|
Hey @cory-colt, Thanks for the PR. Cool people are sharing back to this project. |
|
@PerplexDaniel I totally get it and definitely agree regarding the versioning. This work was created in response to a client need who was using those specific versions. You are correct though, it wouldn't make sense for your project as it's so public, so some refactoring is definitely in order. This was a fairly specific implementation (not good for the masses I realize), but I figured it was worth sharing in case you wanted to adopt the option of this type of functionality at some future date to allow it to auto-assign permissions to users based on their starting content nodes if they match a perplex folder. This was the directive I was given and just figured I would share. :-) Keep up the great work! |
|
@cory-colt Alright, thanks for the explanation! I can see this functionality being useful indeed. For now I'll just keep it here on the "backlog" as we are not actively developing this package right now and unfortunately I cannot really allocate time to work on this anytime soon. Thanks again for contributing back though, really appreciated. |
This is to customize the implementation I'm using to help manage a lot of user accounts and who has access to what forms. Functionality was added when a folder is created and deleted. When a folder is created it will:
Content Start NodesForm Start Node.When a folder is deleted, Perplex seems to leave abandoned records within the
perplexUmbracoUsertable, which would ordinarily be fine, but not for my specific requirements, so I've added code to remove these abandoned records once the form is deleted.