PermissionProcessor - ParadiseHell/PermissionTerminator GitHub Wiki
Introduction
PermissionProcessor
is designed to process different permissions, which users can add their own logic to process permissions if the logic processing permissions is not right, users can just override it.
How to use
Add a processor using PermissionProcessor.Factory.
PermissionTerminator.addPermissionProcessorFactory(factory).
For more references, have a look at FallbackPermissionProcessorFactory.
Notice
PermissionProcessor
is designed using Chain-of-responsibility pattern, so the program will try to use PermissionProcessor
added ahead.