Opened 20 months ago

Last modified 18 months ago

#22308 needinfo enhancement

[Patch] Add option to toggle layer read-only status to popup menu

Reported by: Woazboat Owned by: Woazboat
Priority: normal Milestone:
Component: Core Version:
Keywords: layer, state, read-only, toggle, lock, locked Cc: MSiipola

Description (last modified by Woazboat)

Add a new menu item to the layer popup context menu that allows toggling of the read-only lock state for data layers

Attachments (1)

josm_layer_read_only_toggle.gif (59.5 KB ) - added by Woazboat 20 months ago.

Download all attachments as: .zip

Change History (7)

by Woazboat, 20 months ago

comment:1 by Woazboat, 20 months ago

Description: modified (diff)

comment:2 by skyper, 20 months ago

Modification is blocked by reason and I think this would make it to easy to change from locked status. An option to changing the status for download=* might be an improvement but not for locked or upload.

comment:3 by taylor.smock, 18 months ago

Owner: changed from team to Woazboat
Status: newneedinfo

@Woazboat: do you have any response for skyper's comment?

I'm going to hold off on merging this patch for now.

We'd probably have to have a secondary field (lockedOnLoad or something) to indicate that the provider of the data does not want the data to be accidentally uploaded. Either that, or if the dataset is locked on load, it cannot be unlocked via this popup menu option.

comment:4 by taylor.smock, 18 months ago

Ticket #22483 has been marked as a duplicate of this ticket.

comment:5 by skyper, 18 months ago

I would not ease the changing of locked and upload as they are usually set for good reason.
How about two more states, gui_locked and gui_upload, identical to locked and upload but changeable from the GUI.

comment:6 by skyper, 18 months ago

Cc: MSiipola added
Keywords: state added

Modify Ticket

Change Properties
Set your email in Preferences
as needinfo The owner will remain Woazboat.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from Woazboat to the specified user. Next status will be 'new'.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from Woazboat to anonymous. Next status will be 'assigned'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.