-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Give read access on motebehov to DVH except one column
- Loading branch information
1 parent
5546fc8
commit 1df73d1
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,5 @@ GRANT SELECT( | |
sm_fnr, | ||
opprettet_av_fnr) | ||
ON motebehov to "[email protected]"; | ||
|
||
GRANT SELECT ON MOTEBEHOV_DVH TO "[email protected]"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
CREATE VIEW MOTEBEHOV_DVH ( | ||
motebehov_uuid, | ||
opprettet_dato, | ||
opprettet_av, | ||
virksomhetsnummer, | ||
har_motebehov, | ||
tildelt_enhet, | ||
behandlet_tidspunkt, | ||
behandlet_veileder_ident, | ||
skjematype, | ||
sm_fnr, | ||
opprettet_av_fnr | ||
) AS SELECT | ||
motebehov_uuid, | ||
opprettet_dato, | ||
opprettet_av, | ||
virksomhetsnummer, | ||
har_motebehov, | ||
tildelt_enhet, | ||
behandlet_tidspunkt, | ||
behandlet_veileder_ident, | ||
skjematype, | ||
sm_fnr, | ||
opprettet_av_fnr | ||
FROM MOTEBEHOV; |