source: josm/trunk/src/org/openstreetmap/josm/data/oauth/OsmPrivileges.java@ 6067

Last change on this file since 6067 was 6066, checked in by stoecker, 11 years ago

see #8875 - more oauth rights

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.data.oauth;
3
4public class OsmPrivileges {
5 private boolean allowWriteApi;
6 private boolean allowWriteGpx;
7 private boolean allowReadGpx;
8 private boolean allowReadPrefs;
9 private boolean allowWritePrefs;
10 private boolean allowModifyNotes;
11
12 public boolean isAllowWriteApi() {
13 return allowWriteApi;
14 }
15 public void setAllowWriteApi(boolean allowWriteApi) {
16 this.allowWriteApi = allowWriteApi;
17 }
18 public boolean isAllowWriteGpx() {
19 return allowWriteGpx;
20 }
21 public void setAllowWriteGpx(boolean allowWriteGpx) {
22 this.allowWriteGpx = allowWriteGpx;
23 }
24 public boolean isAllowReadGpx() {
25 return allowReadGpx;
26 }
27 public void setAllowReadGpx(boolean allowReadGpx) {
28 this.allowReadGpx = allowReadGpx;
29 }
30 public boolean isAllowReadPrefs() {
31 return allowReadPrefs;
32 }
33 public void setAllowReadPrefs(boolean allowReadPrefs) {
34 this.allowReadPrefs = allowReadPrefs;
35 }
36 public boolean isAllowWritePrefs() {
37 return allowWritePrefs;
38 }
39 public void setAllowWritePrefs(boolean allowWritePrefs) {
40 this.allowWritePrefs = allowWritePrefs;
41 }
42
43 public boolean isAllowModifyNotes() {
44 return allowModifyNotes;
45 }
46
47 public void setAllowModifyNotes(boolean allowModifyNotes) {
48 this.allowModifyNotes = allowModifyNotes;
49 }
50}
Note: See TracBrowser for help on using the repository browser.