Questions tagged [rights]

Rights pertain to the privileges users have with regard to specific files, folders, or directories, and include determining whether a user has the ability to view them, modify them, etc. Use this tag when asking a question about assigning rights to files or folders as part of a program, API, utility, or website you are working on.

Rights pertain to the privileges users have with regard to specific files, folders, or directories, and include determining whether a user has the ability to view them, modify them, etc. Use this tag when asking a question about assigning rights to files or folders as part of a program, API, utility, or website you are working on.

259 questions
1
vote
0 answers

Programmatically copy files from XP shared folder to W7 PC on the same LAN

Here is my goal : I would like to be able to programmatically copy files from a XP PC shared folder to a W7 PC in the same LAN without having to map a network drive (for instance I would like code running on W7 to be able to copy files hosted on a…
1
vote
1 answer

Odoo - 403: Forbidden The page you were looking for could not be authorized

I have made a web interface in Odoo which lists a tasks for the logged in user. The problem is that when a user does not have Administration Access Rights, the user is not able to see the page. Instead user sees the 403: Forbidden The page you were…
Hassan Zaheer
  • 1,361
  • 2
  • 20
  • 34
1
vote
2 answers

How can test real access right for other User-Account in powershell

I need to try if a specific user has read or write acces on DFS Folder (to validate my DFS). I am Admin on the domain and I have the credential of this user in $Credentials but Test-Path, Get-Item, New-Item do not accept the credential
Alban
  • 3,105
  • 5
  • 31
  • 46
1
vote
1 answer

Rights about keeping uncrypted messages from users (iOS & Appstore rights)

I have an app that involves messaging (and it's a big part of the app). People can text each other through the app, and every message is kept on our server, uncrypted. (We never really thought of encrypting it) The user has to accept terms when he…
Gil Sand
  • 5,802
  • 5
  • 36
  • 78
1
vote
3 answers

Is there a way to check if a user has specific rights?

In my application I'm using ntrights.exe, that is part of Windows Resource Kit, to grant and revoke a specific user right. For example to grant a user "Log on as a server" right, I execute using shell object following command: ntrights -u User +r…
Vadim
  • 21,044
  • 18
  • 65
  • 101
1
vote
1 answer

Yii Rights module error after converting to postgres

I have changed my applicaiton database from mysql to postgres since this the rights module is giving exception: `CDbCommand failed to execute the SQL statement: SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "authitem" does not exist LINE 2:…
XDeveloper
  • 11
  • 1
1
vote
1 answer

Can I define access rights on deployment level on cloudcontrol?

On my cloudcontrol app, I would like to restrict the access to the default deployment exclusively. That means I want to grant full access to all deployments, except for the default deployment. Is there a way to define access rights on deployment…
Gottlieb Notschnabel
  • 9,408
  • 18
  • 74
  • 116
1
vote
1 answer

RegOpenKeyEx and RegSetValueEx fail, but I dont know why

As a starting C++ programmer I want to set a value in the windows registry. I created this textbook implementation to accomplish this, but I always get error 998 back. I guess I am missing something very simple and straightforward, but I can't…
Erwin
  • 1,484
  • 1
  • 18
  • 32
1
vote
4 answers

CakePHP : Check authorizations in views

I am using CakePHP in my project and I am looking for a proper way to check advanced user rights in my views. I have several pages in which the contents depend of your rights (you can view some blocks or not, edit some infos or not, etc...) I…
1
vote
1 answer

The folders / files generated by our scripts don't have the proper rights

So the problem is, when we create new websites on our dev server, some of the files and folders created don't have the execute rights so we have to manually do a chmod -R 777 /web/websitename Here is an example of a freshly created website folder…
Dexirian
  • 515
  • 3
  • 15
1
vote
2 answers

linux how to allow user to read/write/delete files created from root in a specific folder

I use automysqlbackup to backup my mysql database. The problem is I can only run this program using sudo automysqlbackup. This program dumps the backup into my folder /home/user/backup but theses files are owned by root and when I connect via ftp…
Tamere Jlanik
  • 135
  • 2
  • 4
  • 8
1
vote
1 answer

Managing commit rights in svn by delegating to project managers

We have multiple projects in svn repo.And for each project there are many users.As number of users is large so its troublesome to manage their commit rights using "Auth file". I have read somewhere that we can delegate user's rights to their…
Kaku
  • 119
  • 2
  • 11
1
vote
1 answer

assign user roles and rights to a blog in blogengine programatically

I am looking into blog engine and would like to be able to setup a blog for every user in my asp.net membership provider. This is easy to do, although setting up the permissions is not so simple. Although this is not a great solution as far as i can…
Paul
  • 693
  • 1
  • 10
  • 25
1
vote
0 answers

Get Users according to Role with rights

I have three tables in the db. One is authmanager has rolename and user_id. The second is user which has the usual id, username and password. The third table is employee, which has 'id', 'user_id' and the rest of the fields. The problem is that in…
1
vote
1 answer

Application Settings + IniFile + User Rights

Could you tell me please. I wrote an application that uses 'Settings.ini' to save settings. The application is installed using InnoSetup. If there are several user accounts and the application is installed in one of them, so, if I try to run the…
serhiyiv
  • 183
  • 1
  • 2
  • 10