Authorised to User Fro MODIFY,VIEW and INSERT
Hi,
i want to authenticate my application .How can i give RIGHTS to User ,How can i authorised to User for MODIFY,VIEW and INSERT.
How can i implement this.
Thanks
Edited by: 805629 on Jan 26, 2011 11:10 PM
Hi,
Create authorization scheme for MODIFY, VIEW and INSERT.
For MODIFY and INSERT edit button and select Authorization Scheme.
For VIEW on Edit Application properties go to security tab and select Authorization Scheme for VIEW.
Sample PL/SQL code for authorization(It will return boolen):
Scheme Type: PL/SQL Function Returning Boolean
Code:
Declare
v_ret number;
Begin
v_ret := AUTH_PKG.can_update(:APP_USER,:APP_PAGE_ID);
IF V_RET =1 THEN
RETURN true;
ELSE
RETURN false;
END IF;
End;
Regards,
Kartik Patel
http://patelkartik.blogspot.com/
http://apex.oracle.com/pls/apex/f?p=9904351712:1
Similar Messages
-
How to block user create personal view and select ALL VIEW?
How to block user create personal view and select ALL VIEW?
Hello,
>create personal view
To restrict creating personal view, you need to modify your existing permission level or create new one. Login with admin account to your site and open role.aspx page (http://siteurl/_layouts/role.aspx). Then click on existing permission or add new permission
level-->and move to "Personal Permissions" section-->uncheck "Manage Personal Views - Create, change, and delete personal views of lists" option. Later you can assign this permission to all users, whom you don't want
to allow to create.
>and select ALL VIEW
Since SP does not supports view level permission directly so you have to use custom solution or use below designer solution to restrict user to open any view.
http://www.codeproject.com/Articles/433486/How-to-set-view-level-permissions-out-of-the-box-i
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Build a sql query fro different table and insert into a table
Hi I have a requirement ,
i have some table 1 table which holds rules which rules i have to apply on the sql query
2 table will hold table name and column name and transformation
with these help of 2 tables i want to build a sql quey and the sql query need to be insert into another table.Hi Karthick,
I am not going to build Dynamic Data Model.
i already have table 1 contains rules let's say COUNT,
and another table contain source table name , column name , Target table name, Source Table name like that
so with the help of these 2 tables i want to build Sql query and going to insert into 3rd table. -
Resetting user settings of views to default
Hi,
we are using ALBPM Enteprise 6.0 Mp5.
We have prepared our custom presentations to be used in custom views in the Workspace - meaning we have defined a specific set of columns that we want the user to see.
Some user have modified his presentation and saved it - thus now everytime he opens the custom view he sees different set of fields as we want him to, even after logout and login.
How can we force change of the presentation for the view to be back to default? To throw away his changes?
Can he somehow go back to the default presentation?
Thanks for help,
JurajHi Juraj and everybody.
I have a simillar problem. The user changes his views and now, when he logs in, a javascript error is throwed and nothing appears on screen.
Did you make it? I need to reset the user custom layout either.
Someone knows how to do that?
Thanks -
Extract the data in a view and put them into a table
Hi, all
I am a new beginer in Oracle. Recently I have a project with 70,000 records in the database. I made a view so that I can combine the tables and extract the columns I need. However making the view took me a lot of time, thus I want to put those data into a table so that I don't have to creat the view everytime to decrease the performance. Can you help me?
Thanks!!
joeyYou don't need to recreate the view, you can just:
SQL> SELECT * FROM view_name;
However, if you want to create a table that has the same columns as the view and insert the rows from the view, you can:
SQL> CREATE TABLE table_name AS SELECT * FROM view_name;
null -
Strange thing noticed with a view and group by
Hi all, Could anybody please tell me what could be the problem if you have come across it ever.
I am using a view which is fetching 4 million rows from another db thru a dblink. In the view query this data is joined with two other small temporary tables and the output is taken out.
The whole process is like this...
1.Create the two temporary tables..
2. Alter the view to compile;( as these temporary tables are dropped after the whole process)
3. insert into the target table using another query by taking the data from the VIEW
4. drop the temporary tables.
All these are in a single script.
In the insert statement I use a group by in the select statement to produce sum of three columns.
the ideal output is as giiven below:
total rows= 4.7 million.
after the group by i should get 293,356 rows( i tested it after taking all the rows from the view into my db and did a group by on it with the required columns)
Now the group by is done directly by taking the data from the view and inserting into the final table.
When i ran the script for the first time I got this 293,356 rows... The second time I ran it gave me only 73090 rows. But the sum total of those 3 columns are exctly same as that of 293,356 rows. I donot change the number of columns in group by or anything like that... what i am doing is just running it again....
Can anybody tell me why it gives different number of rows at different times when the same script is run without any changes...( There is no difference in the original number of rows too..)
Thanks
Edited by: user626688 on Oct 17, 2008 12:26 PMWay not enough information.
Assume you have Oracle to Oracle connection here (with your DB link). What version are BOTH databases on. No idea what the view looks like, or how you use it, or what these 'temporary tables' you create on the fly do.
Can you put together a small example of this which recreates your problem? We don't have your tables, your script, your ability to run queries and check things, so there's really not much anyone can do to help you with this.
The simplest explanation is usually the correct one, so although it's possible you've hit an internal Oracle bug, i'd put my money in there being a flaw in your processing, it's where the safe money is. Though there could be a bug with view merging, or the DB link, or ..... -
Users group for View not for publish
Hi guys,
Does anybody can tell me how can I creat users group for view
and not for publication?
It's something like to create Contribute roles, but is not
related with the permission levels to publish, but with the
visualization permissions for exclusivy content, for ex.:
Home (open for all users)-------- IT Dept--------Directory
Dept ---------Support Dept
- Johny - Johny - Joseph - Isaac
- Jack - Jack - JJ - Jason
- Rose - Rose - Robert
- Joseph - Lisa
- JJ
- Isaac
- Jason
- Robert
- Lisa
Please somebody help me, It's very, very important!!!
Thanks in advance for who can help me.
San.Sandra Bercke wrote:
> Hi guys,
> Does anybody can tell me how can I creat users group for
view and not for
> publication?
> It's something like to create Contribute roles, but is
not related with the
> permission levels to publish, but with the visualization
permissions for
> exclusivy content, for ex.:
>
> Home (open for all users)-------- IT
Dept--------Directory Dept
> ---------Support Dept
> - Johny - Johny - Joseph
> - Isaac
> - Jack - Jack - JJ
> - Jason
> - Rose - Rose
> - Robert
> - Joseph
> - Lisa
> - JJ
> - Isaac
> - Jason
> - Robert
> - Lisa
>
> Please somebody help me, It's very, very important!!!
>
> Thanks in advance for who can help me.
>
> San.
>
You cannot restrict on the users to view a particular folder
(say IT
dept) using contribute. Infact there is a setting in IIS
Webserver which
allows you to set an Authentication mechanism where users
when browsed
to any site on your webserver will be prompted for username
and password.
But you might want to try something like this.. not sure if
this will
help you...
1. Create 4 connections in contribute
a) first connection to "Open for all users" directory on
your webserver.
b) second connection to "IT Department" directory on your
webserver.
c) third connection to "Directory dept"... etc
2. This way you can administer 4 sites and send connection
keys to them
accordingly...
Hope this helps. -
Maint. Status in Dictionary: Maintain View- setting read and insert only.
I am creating a maint. view for a custom table I have created. Say the view was accessed via sm30, the user should be able to view existing records and insert new records, but not delete or change existing records.
When in the Dictionary:Maintain View (from se11), I am on the Maint. Status tab and I see several options for access:
-read only
-read, change, insert, delete
-read and change
-read and change (time specific)
The problem is, there is no option for READ and INSERT. Does anyone know how to limit the access to this?
Thanks,
AaronA workaround is to allow everything in DDIC and modify the function's PAI (se30 generation) to disallow whatever you want.
Best!
Jim -
Userexit to Restrict the VIEW and MODIFY of the Sales Order
Hello Everybody,
I need to do the following task.
I want to restrict to VIEW and MODIFY the sales order for particular sales office or sales group.
I need user exit for that.
Please help me by providing brief information.
Thanks
M RahmanHi Rahman
Instead of changing the DISPLAY and CHANGE status of Sales Order,
i think it would be better if u make a check at the time of SAVE.
When the SO is being saved in VA02,check the sales office or sales group
and then give a error message to the user, saying that he is not authorised to make changes to the
SO for this particular sales office or sales group.
For this you can use the inckude MV45AFZZ,and USER EXIT userexit_save_document.
Sample Code:
IF SALES_OFFICE EQ 'XYZ'.
MESSAGE 'Change not possible for this Sales Office' type 'E'.
ENDIF.
Regards
Hareesh Menon -
Multiple users access one iPhoto library and view and edit
I have 3 Macs and 5 users in our family. I'd like to have one iPhoto library that any user can access from any of the machines and view and/or edit. I don't need simultaneous access (which from reading posts I can see is not possible in iPhoto).
If I move the library to external HD will I be able to access the libary from each Mac over Wi-Fi? From what I read I'd need to hold ALT when opening iPhoto in each user account, on each Mac, and choose the library on the external drive.
If I set it up like this then once photos imported any user can see them, and edit if they want to? Presumably any Projects would be in the one central library rather tan being specific to a particular user?Yes and no
the hard drive that the iPhoto sits on must be formatted Mac OS extended (jorunaled)
iPhoto is not a multi user program and if two different people edit atthe same time it will not wrok correctly
Most importantly WiFi is not a reliable connection and has many dropouts - if you edit over WiFi you are highly likely to lose data and corrupt yoru library - it is not a good idea - viewing is slow but will work
LN -
Working on a single computer with multiple users, I have set things up to allow each user to view and listen to the others' music libraries under the "Shared Library" function. Can you then connect an iPod touch and copy music from a shared library?
Was your wife logged into the libray at the time you tried to log in? I have had a similar problem and it was because another user was logged into the library when I attempted to. I got the permission denied banner.
-
Hello am an intermediate Windows Phone/Store Developer. Am currently in the process of implementing a LOB app that will have three different types users, an admin, a student, a teacher . Depending on how a user logs in i would like certain pages to be exposed
to them and the rest to be hidden. The app will also store data temporally on a local db then sync regularly to an azure database(Can the recent entity framework 7 that supports store/phone apps allow code first databases or are there features still not fully
accessible in WinRT apps)...This i believe can handle but also kindly point me out to existing implemented resources/examples i will appreciate very much.
What am finding problematic is how to consume different app data stored by various users logged in for these different views. Will i need an asp web api is it really necessary cause i want to avoid it cause i have about three months to do it. I do not want
to create three different apps and one ASP Web AP, i want one single app and an api if possible, i know windows usually sandboxes apps hence app to app communication will be hard if not impossible. So my question is, is it possible to implement different
user session management with a login (Windows Live ID) which i can abstract various parts of the app from them depending on the users login id in the app. E.g How can an admin logged in the same app as the student have access rights to certain pages in the
app that a student will not see. How do i route different users to certain pages and can isolated storage store these persisting as a setting.
How can i know which login id belongs to which of the three users? How do i then assign different access to different controls of the app with their id,provide custom views routes,access right,session management. I think i can do these without an ASP Web
API is It wise? Building pages in the apps is easy but i want users to see different views of the app instead of one standard app depending on there login id, how can the NAVIGATION URI be used here. How can azure and features like active directory,azure mobile
services. I know i have repeated the same things over and over and these might be complex for a free advise but as a windows dev these is my one stop shop. Any one with a view on how to approach these kindly show me the best directions. Thanks guys in advance.I suggest you have a look at this sample.
https://code.msdn.microsoft.com/windowsapps/ListView-Interaction-ac044c3c. MainPage provides the framework to hold the content. At runtime, we create the Scenario collections and then bind to control. This approach can help you determine the type of users
and provide some appropriate pages at runtime.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
the survey. -
As a mobile me user I uploaded my photographs for clients to view and download. Can and how do I do this in ICloud?
You can't. The Gallery service in MobileMe does not exist in iCloud. You will need to switch to another photo hosting web site.
-
I have recently transferred data from my old Mac to my new one. The result was good, but I have 2 users now, whose data I want to merge into 1 single user, so to avoid having to switch from one user to the other to view and use certain files. How to do it?
Here's an easy way:
Pick the user that you want to eliminate (making sure that the remaining user has administrator privileges) and move all of the data that you want to keep into the Shared folder. Reboot or log out and login to the user you want to keep. Copy all the data from the Shared folder into your account - placing it neatly in folders (Documents, Music, Movies, etc.).
Once the data is moved, log into the account you want to delete just once more to make certain that you've grabbed all the data you want to keep. Log out and log back into your admin account and go to System Preferences>Users & Groups and delete the 'old' user.
That should do it.
Clinton -
How to restore views and procedures after drop user command?
How to restore views and procedures after drop user command?
We have 817 EE on NT and one developer created a lot of procedures, functions and vews. DB was not backuped and archived and export has not been done - our fault and we understand it. Sorry for this.
Ok, now the story: another developer dropped this db user and we lost everything: procedures, functions and vews. The new user with trhe same name was created and new schema was imported in this user, but all old objects are lost. We don't have export and backup and archive log files.
Question: may we can restore this lost stuff from some other sources. We are looking for lost codes, not data. May be we can use redo logs or shared pool or any other things. Any idea will be appreciated.
Thanks.
Victor
[email protected]The switch has occurred after user was dropped, the data has been overwritten and there is be no way to use redo log files.
I would like to explore another opportunity. Is possible to use Shared Pool or any Data Dictionary internal information to restore texts of the lost SQL and PL/SQL scripts executed in this DB before user was dropped? Not too many scripts are executed in this DB and the lost ones may still be in stack. I remember that Shared Pool (cash) should keep last executed scripts in order to improve performance. They probably are kept in some special format. Can we restore these scripts? Of course they also might be pushed out by Import that had been done after user was dropped.
Thanks for your help,
Victor
Maybe you are looking for
-
Error and disconnection while processing application in BPC 5.1
While processing an application, once the system reaches to step 8 of 9 it gets disconnected. Why so?
-
When I plug my iPhone into my computer iTunes doesn't even recognize that there is a device there. It's not the USB because my computer is letting me import all of my pictures and videos. Is there something wrong with the newest iTunes/Windows, or is
-
When they told me about it I just thought it had a better display and decided it didn't bother me if the resolution was better, not knowing that it was thinner, has a HDMI connection, etc. I bought my macbook pro 13 inch exactly a month ago tomorrow.
-
Cell Offload will Happen for pl/sql Block with variables
Hello Experts, i am working on procedures on exadata now. i was confused with cell offload in exadata. somehow offload is not happening when i ran the sql statement in in pl/sql block with variables. here are my findings. when i ran insert into from
-
Hp pavillion 15-b142dx usb 3.0 driver for windows 7
Have a hp sleekbook 15-b142dx and down graded from windows 8 to windows 7. Can't find the right driver to make the two USB 3.0 ports work. The 2.0 USB port works just fine. This question was solved. View Solution.