Fix jwt-token
This commit is contained in:
@@ -82,6 +82,25 @@ module.exports = (sequelize) => {
|
||||
comment: 'Tenant feature limits and enabled features'
|
||||
},
|
||||
|
||||
// Security Configuration
|
||||
ip_whitelist: {
|
||||
type: DataTypes.JSONB,
|
||||
allowNull: true,
|
||||
defaultValue: null,
|
||||
comment: 'Array of allowed IP addresses/CIDR blocks for this tenant'
|
||||
},
|
||||
ip_restriction_enabled: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
defaultValue: false,
|
||||
comment: 'Whether IP restrictions are enabled for this tenant'
|
||||
},
|
||||
ip_restriction_message: {
|
||||
type: DataTypes.TEXT,
|
||||
allowNull: true,
|
||||
defaultValue: 'Access denied. Your IP address is not authorized to access this tenant.',
|
||||
comment: 'Custom message shown when IP access is denied'
|
||||
},
|
||||
|
||||
// Contact Information
|
||||
admin_email: {
|
||||
type: DataTypes.STRING,
|
||||
|
||||
Reference in New Issue
Block a user