26 lines
703 B
C++
26 lines
703 B
C++
#ifndef LDAP_GROUP_SCHEMA_SETTINGS_HPP
|
|
#define LDAP_GROUP_SCHEMA_SETTINGS_HPP
|
|
|
|
#include "../core/Model.hpp"
|
|
|
|
#include "matador/utils/base_class.hpp"
|
|
|
|
namespace work::models::admin {
|
|
|
|
struct LdapGroupSchemaSettings : core::Model {
|
|
std::string group_object_filter;
|
|
std::string user_member_attribute;
|
|
|
|
template<typename Operator>
|
|
void process( Operator& op ) {
|
|
namespace field = matador::access;
|
|
field::process( op, *matador::base_class<Model>( this ) );
|
|
field::attribute( op, "group_object_filter", group_object_filter, 511 );
|
|
field::attribute( op, "user_member_attribute", user_member_attribute, 511 );
|
|
}
|
|
};
|
|
|
|
}
|
|
|
|
#endif //LDAP_GROUP_SCHEMA_SETTINGS_HPP
|