Permission control for internal extensions is not ready yet, but since the PermissionDelegate is defined in their base class 'Extension', we could easily create another delegate for internal extensions, just like what we did in the extension_process class which implements the delegate interface for external extensions.