@@ -0,0 +1,1596 @@
+package com.skcraft.plume.module;%0A%0Aimport com.sk89q.worldedit.forge.ForgePermissionsProvider;%0Aimport com.sk89q.worldedit.forge.ForgeWorldEdit;%0Aimport com.sk89q.worldedit.util.eventbus.Subscribe;%0Aimport com.skcraft.plume.common.UserId;%0Aimport com.skcraft.plume.common.service.auth.Authorizer;%0Aimport com.skcraft.plume.common.service.auth.Context;%0Aimport com.skcraft.plume.common.service.auth.Context.Builder;%0Aimport com.skcraft.plume.common.util.module.Module;%0Aimport com.skcraft.plume.common.util.service.InjectService;%0Aimport com.skcraft.plume.common.util.service.Service;%0Aimport com.skcraft.plume.util.Contexts;%0Aimport com.skcraft.plume.util.profile.Profiles;%0Aimport cpw.mods.fml.common.event.FMLServerStartingEvent;%0Aimport net.minecraft.command.ICommand;%0Aimport net.minecraft.entity.player.EntityPlayerMP;%0A%0A@Module(name = %22worldedit-perm-provider%22, hidden = true)%0Apublic class WorldEditPermProvider implements ForgePermissionsProvider %7B%0A%0A    @InjectService%0A    private Service%3CAuthorizer%3E authorizer;%0A%0A    @Subscribe%0A    public void onFMLServerStartingEvent(FMLServerStartingEvent event) %7B%0A        ForgeWorldEdit.inst.setPermissionsProvider(this);%0A    %7D%0A%0A    @Override%0A    public boolean hasPermission(EntityPlayerMP player, String permission) %7B%0A        UserId userId = Profiles.fromPlayer(player);%0A        Context.Builder builder = new Builder();%0A        Contexts.update(builder, player);%0A        return authorizer.provide().getSubject(userId).hasPermission(permission, builder.build());%0A    %7D%0A%0A    @Override%0A    public void registerPermission(ICommand command, String permission) %7B%0A    %7D%0A%0A%7D%0A

Add module to hook the authorizer into WE.