Class SubmissionFormsMigrationScriptConfiguration

    • Constructor Detail

      • SubmissionFormsMigrationScriptConfiguration

        public SubmissionFormsMigrationScriptConfiguration()
    • Method Detail

      • isAllowedToExecute

        public boolean isAllowedToExecute​(Context context)
        Description copied from class: ScriptConfiguration
        This method will return if the script is allowed to execute in the given context. This is by default set to the currentUser in the context being an admin, however this can be overwritten by each script individually if different rules apply
        Overrides:
        isAllowedToExecute in class SubmissionFormsMigrationCliScriptConfiguration
        Parameters:
        context - The relevant DSpace context
        Returns:
        A boolean indicating whether the script is allowed to execute or not