Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
App Blocks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Genesys PGR
App Blocks
Commits
566f5e64
Commit
566f5e64
authored
Jul 21, 2018
by
Matija Obreza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BasicModel#id is included in Minimal JSON view
- ACL depends on having access to object IDs
parent
37d4869e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
core/src/main/java/org/genesys/blocks/model/BasicModel.java
core/src/main/java/org/genesys/blocks/model/BasicModel.java
+1
-1
No files found.
core/src/main/java/org/genesys/blocks/model/BasicModel.java
View file @
566f5e64
...
...
@@ -41,7 +41,7 @@ public class BasicModel implements EntityId, Serializable {
private
static
final
long
serialVersionUID
=
2709998920148999956L
;
/** The id. */
@JsonView
({
JsonViews
.
Update
.
class
,
JsonViews
.
Protected
.
class
})
@JsonView
({
JsonViews
.
Minimal
.
class
,
JsonViews
.
Update
.
class
,
JsonViews
.
Protected
.
class
})
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
AUTO
)
@Column
(
name
=
"id"
,
unique
=
true
,
nullable
=
false
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment