def set(self, name, value, **kw):
<EOL>sm = getSecurityManager()<EOL>permission = permissions.ManagePortal<EOL>if not sm.checkPermission(permission, self.context):<EOL><INDENT>raise Unauthorized("<STR_LIT>")<EOL><DEDENT>if not hasattr(self.context, name):<EOL><INDENT>return False<EOL><DEDENT>self.context[name] = value<EOL>return True<EOL>
Set the attribute to the given value.

        The keyword arguments represent the other attribute values
        to integrate constraints to other values.