server-tools icon indicating copy to clipboard operation
server-tools copied to clipboard

[14.0][ADD] restrict_edition_to_superuser

Open kevinkhao opened this issue 4 years ago • 4 comments

kevinkhao avatar Jan 15 '21 16:01 kevinkhao

@bealdav could be of interest

kevinkhao avatar Jan 15 '21 16:01 kevinkhao

After further answering I don't know which is the use case targeted but if I one day need to prevent delete records I think it could be better to add xml data to the record and prevent in the code to delete any record with xml data. An helper in the interface could be done to add xml data by superuser. If yes it can works with any records and any table without any other column in each table

What do you think ?

It's not a blocking remark of me

bealdav avatar Jan 26 '21 09:01 bealdav

@bealdav I think there are many ways to skin a cat; this module is only one of them, and your idea seems valid to me. Other ways to effect this will overlap with this module's goals, but this one can be used as is.

kevinkhao avatar Feb 02 '21 11:02 kevinkhao

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Sep 15 '24 12:09 github-actions[bot]