[GH-ISSUE #252] access_restriction is too short #204

Closed
opened 2026-02-26 09:36:42 +03:00 by kerem · 3 comments
Owner

Originally created by @andyboeh on GitHub (Aug 30, 2018).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/252

I use the Access Restriction plugin a lot and ran out of space for the access_restriction field. For now, I manually changed the database, but IMHO it would make sense, to increase the column length from 100 to a higher number (I use 512 for now).

Further, if you run out of space for the access_restriction field, you do not get any warning. Setting the permission simply doesn't stick.

Originally created by @andyboeh on GitHub (Aug 30, 2018). Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/252 I use the Access Restriction plugin a lot and ran out of space for the access_restriction field. For now, I manually changed the database, but IMHO it would make sense, to increase the column length from 100 to a higher number (I use 512 for now). Further, if you run out of space for the access_restriction field, you do not get any warning. Setting the permission simply doesn't stick.
kerem closed this issue 2026-02-26 09:36:42 +03:00
Author
Owner

@barryo commented on GitHub (Aug 31, 2018):

Hi @andyboeh - 100 is a lot. Are you using stuff outside the standard:

vimbadmin_plugins.AccessPermissions.type.SMTP  = "SMTP"
vimbadmin_plugins.AccessPermissions.type.IMAP  = "IMAP"
vimbadmin_plugins.AccessPermissions.type.POP3  = "POP3"
vimbadmin_plugins.AccessPermissions.type.SIEVE = "SIEVE"
<!-- gh-comment-id:417657954 --> @barryo commented on GitHub (Aug 31, 2018): Hi @andyboeh - 100 is a lot. Are you using stuff outside the standard: ``` vimbadmin_plugins.AccessPermissions.type.SMTP = "SMTP" vimbadmin_plugins.AccessPermissions.type.IMAP = "IMAP" vimbadmin_plugins.AccessPermissions.type.POP3 = "POP3" vimbadmin_plugins.AccessPermissions.type.SIEVE = "SIEVE" ```
Author
Owner

@andyboeh commented on GitHub (Aug 31, 2018):

Yes, I have about 20 different permissions defined as I built our entire authentication and authorization system around ViMbAdmin's database. I understand that that's not the primary intention of ViMbAdmin, so I'm fine with a custom solution as well.

<!-- gh-comment-id:417670158 --> @andyboeh commented on GitHub (Aug 31, 2018): Yes, I have about 20 different permissions defined as I built our entire authentication and authorization system around ViMbAdmin's database. I understand that that's not the primary intention of ViMbAdmin, so I'm fine with a custom solution as well.
Author
Owner

@barryo commented on GitHub (Aug 31, 2018):

Thanks @andyboeh - I think the customer work around is best here 😉

<!-- gh-comment-id:417704322 --> @barryo commented on GitHub (Aug 31, 2018): Thanks @andyboeh - I think the customer work around is best here 😉
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ViMbAdmin-opensolutions#204
No description provided.