Version 2 vs 3
Version 2 vs 3
Edits
Edits
- Edit by fourestey, Version 3
- Sep 13 2016 22:49
- Edit by • rezzonico, Version 2
- Sep 13 2016 22:26
« Previous Change | Next Change » |
Edit Older Version 2... | Edit Older Version 3... |
Content Changes
Content Changes
**Here you will learn how to create a simple repository and handle permissions**
Click on the //Create a new repository// button on your landing page.
{F135915}
Choose to create a Git repository
{F135917}
All you need to indicate in the next screen is a name for your repository
{F135919}
Now, let's set some policies
{F135921}
Default policies are quite liberal, we will have to edit that
{F135924}
We wish to give read access to some individual users. For that, we have to create a custom policy
{F135927}
...we can just add some users to the //Allow// list:
{F135929}
You can also set similar policies for Edit (this means: managers of the repository) and Push (this means contributors).
{F135931}
Now, you can go back to //Basics// and //Activate Repository//.
{F135933}
Let's have a look at your repository now by clicking on //View Repository//.
{F135936}
You can see access URLs for https (you need a VCS password for this) and ssh (you need to upload a SSH key for this), Those are the URLs to be put after `git clone` in your command line. The //Manage Repository// link will take you back to the configuration menu.
{F135944}
**Here you will learn how to create a simple repository and handle permissions**
Click on the //Create a new repository// button on your landing page.
{F135915}
Choose to create a Git repository
{F135917}
All you need to indicate in the next screen is a name for your repository
{F135919}
Now, let's set some policies
{F135921}
Default policies are quite liberal, we will have to edit that. The first step is to define the visibility of the repository. There are several fine grain options to adjust the visibility. In Phabricator, it is not possible to make a repository explicitely private. **In order to make a repository private**, one needs to specifically set a custom policy in order to add allowed users.
Other options are in particular: "Public", which will make the repository accessible to anyone (even logged out) and "All Users" are all logged-in registered users of c4science.
{F135924}
We wish to give read access to some individual users. For that, we have to create a custom policy
{F135927}
...we can just add some users to the //Allow// list:
{F135929}
You can also set similar policies for Edit (this means: managers of the repository) and Push (this means contributors).
{F135931}
Now, you can go back to //Basics// and //Activate Repository//.
{F135933}
Let's have a look at your repository now by clicking on //View Repository//.
{F135936}
You can see access URLs for https (you need a VCS password for this) and ssh (you need to upload a SSH key for this), Those are the URLs to be put after `git clone` in your command line. The //Manage Repository// link will take you back to the configuration menu.
{F135944}
**Here you will learn how to create a simple repository and handle permissions**
Click on the //Create a new repository// button on your landing page.
{F135915}
Choose to create a Git repository
{F135917}
All you need to indicate in the next screen is a name for your repository
{F135919}
Now, let's set some policies
{F135921}
Default policies are quite liberal, we will have to edit that. The first step is to define the visibility of the repository. There are several fine grain options to adjust the visibility. In Phabricator, it is not possible to make a repository explicitely private. **In order to make a repository private**, one needs to specifically set a custom policy in order to add allowed users.
Other options are in particular: "Public", which will make the repository accessible to anyone (even logged out) and "All Users" are all logged-in registered users of c4science.
{F135924}
We wish to give read access to some individual users. For that, we have to create a custom policy
{F135927}
...we can just add some users to the //Allow// list:
{F135929}
You can also set similar policies for Edit (this means: managers of the repository) and Push (this means contributors).
{F135931}
Now, you can go back to //Basics// and //Activate Repository//.
{F135933}
Let's have a look at your repository now by clicking on //View Repository//.
{F135936}
You can see access URLs for https (you need a VCS password for this) and ssh (you need to upload a SSH key for this), Those are the URLs to be put after `git clone` in your command line. The //Manage Repository// link will take you back to the configuration menu.
{F135944}
c4science · Help